Delphine Fitzenz wrote:
Hi all
I'm trying to install xv on my G4 OS 10.1.4, and still have some problems.

What version of xv? Why not simply "fink install xv"?


I had to edit the Makefile to give the correct paths to the include and lib files (-L/usr/X11R6/lib/ -I/usr/X11R6/include/

If you insist on doing this yourself, have a look at fink's patch file for the xv package, at least, to see how it can be done.


-I/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/, the latter -I being just for the malloc.h), and now almost everything

This is certainly the wrong way. Kernel headers shouldn't be used outside of the kernel. Darwin doesn't have nor need malloc.h. There is <sys/malloc.h>, however.


compiles fine, except xvdir.c. Could it have something to do with the fact that it "includes" a pwd.h file that is nowhere to be found on my harddisk? there's no indication given by the compiler that it is the source of the problem, however.

/usr/include/pwd.h comes with the Developer Tools. In recent Dev Tools, it is in the DevSDK.pkg which you might not have installed.


Any hint will be welcome!
Thanks
Delphine.

cc -L/usr/X11R6/lib/ -I/usr/X11R6/include/ -I/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/ -DDOJPEG -Ijpeg -DDOTIFF -Itiff -DDOPDS -c xvdir.c
xvdir.c:613: undefined type, found `DIR'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
xvdir.c: In function `LoadCurrentDirectory':
xvdir.c:613: `DIR' undeclared (first use in this function)

This should be defined, because /usr/include/dirent.h is included and it's defined there. But this file is again installed from the DevSDK.pkg.


--
Martin



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to