|
Re: Problems with building 2-2.1.99 on OS X: msg#00002multimedia.gphoto.devel
On Wed, Feb 01, 2006 at 02:53:20PM +0900, Juerg Lehni wrote: > Hello everyone, > > I am new to Gphoto2 and currently stuck trying to get it work on OS X. > > I tried both to build 2-2.1.99 and from CVS, but allways get the > following error: > > Making all in disk > [...] > disk.c:36:20: error: mntent.h: No such file or directory > > There seems to be a problem with the disk port on OS X. It relies on > mntent.h, which is not present on Darwin at all. A little research > showed that mntent.h is providing utilities for reading/writing > fstab, mtab, etc. But Darwin does not use mtab or fstab. There's tool > called autodiskmount which takes care of all this. > > It seems that since the addition of the disk port, building on OS X > is broken. I wonder if and how I can turn off the disk port, as all I > really need is PTP support anyway. > > Any help is very appreciated. After configure, go to libgphoto2_port/Makefile and remove "disk" from IOLIB_SUBDIRS and SUBDIRS. This should be sufficient. I will add a configure check for this header. Ciao, Marcus ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Problems with building 2-2.1.99 on OS X: 00002, Juerg Lehni |
|---|---|
| Next by Date: | Deprecating print-usb-usermap, print-udev-rules: 00002, Hans Ulrich Niedermann |
| Previous by Thread: | Problems with building 2-2.1.99 on OS Xi: 00002, Juerg Lehni |
| Next by Thread: | Problems with building 2-2.1.99 on OS X: 00002, Juerg Lehni |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |