Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Try to install dosbox: (6 Items)
   
Try to install dosbox  
Hello,

I try to install dosbox with pkgsrc (source).

When pkgsrc try to install libaudiofile, this error is returned :

error : getopt.h : No such file or directory.

this file is located in /usr/pkg/include.

How I can define this location ? I tried with environment variable INCLUDE,

but that doesn't work.

any idea ?

Thank you

Loic
Re: Try to install dosbox  
Try adding a line:

.include "../../devel/libgetopt/‎buildlink3.mk"

To bottom of audio/libaudiofile/Makefile

Sent from my BlackBerry 10 smartphone on the Rogers network.
  Original Message
From: loic Maury
Sent: Wednesday, December 25, 2013 1:00 PM
To: general-pkgsrc
Reply To: general-pkgsrc@community.qnx.com
Subject: Try to install dosbox


Hello,

I try to install dosbox with pkgsrc (source).

When pkgsrc try to install libaudiofile, this error is returned :

error : getopt.h : No such file or directory.

this file is located in /usr/pkg/include.

How I can define this location ? I tried with environment variable INCLUDE,

but that doesn't work.

any idea ?

Thank you

Loic



_______________________________________________

General
http://community.qnx.com/sf/go/post107715
To cancel your subscription to this discussion, please e-mail general-pkgsrc-unsubscribe@community.qnx.com
Re: Try to install dosbox  
Hello Sean,

Thank you, that work, but now I have a new problem at link step, it
cannot find the getopt_long code function (libgetopt.a, I think),

Loic
Re: Try to install dosbox  
Try:

LIBS.QNX+= -lgetopt

Sent from my BlackBerry 10 smartphone on the Rogers network.
  Original Message
From: loic Maury
Sent: Thursday, December 26, 2013 6:40 AM
To: general-pkgsrc
Reply To: general-pkgsrc@community.qnx.com
Subject: Re: Try to install dosbox


Hello Sean,

Thank you, that work, but now I have a new problem at link step, it
cannot find the getopt_long code function (libgetopt.a, I think),

Loic



_______________________________________________

General
http://community.qnx.com/sf/go/post107718
To cancel your subscription to this discussion, please e-mail general-pkgsrc-unsubscribe@community.qnx.com
Re: Try to install dosbox  
Thank you, that work, the package libaudio is installed.

Loic
Re: Try to install dosbox  
Unfortunately, I have error with others package.

I need to install esound, who return : "cannot find -lgetopt". I have added 
in Makefile : .include "../../devel/libgetopt/buildlink3.mk", that fix the issue, but return
a new error : undefined reference to snd_cards_mask, I think this function is in
alsa-lib, so I have added same thing with .include ... alsa-lib/buildlink3.mk,
with a new error : ../../include/local.h : error: endian.h: No such file or directory.

I have located this file in /usr/qnx650/target/qnx6/usr/include/io-pkt/machine/endian.h and symbolic links
in /usr/include/io-pkt.

But is it a good endian.h file ? and how I can add it ?

Thank you

Loïc