On 11/29/06, Alexander Hansen <[EMAIL PROTECTED]> wrote:
> On 11/29/06, Mojca Miklavec <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I don't manage to install djvulibre (fink install djvulibre) on an
> > intel Mac. Here's what fails:
> >
> >
> > mkdir .libs
> > g++ -o .libs/djview -I/sw/include -I/sw/include -DHAVE_CONFIG_H
> > -I../.. -I../../libdjvu -I./ -I../../gui/indep/QT/
> > -I../../gui/indep/QX/ -I../../gui/indep/utils/ -I../../gui/shared/QT/
> > -I../../gui/shared/res/ -I../../gui/shared/utils/ -I. -DNDEBUG -Wall
> > -O3 -DTHREADMODEL=POSIXTHREADS -I/sw/lib/qt3/include
> > -I/usr/X11R6/include qx_imager.o qxlib.o qt_imager.o qt_painter.o
> > qlib.o qlib_moc.o col_db.o execdir.o cin_data.o
> >        ... etc. ...
> > ppm_vpin_in.o ppm_djview_icon.o bmp_djview_front.o ppm_vprint.o
> > ppm_vfind.o ppm_vsave.o ppm_rotate90.o ppm_rotate270.o
> > ppm_zoomselect.o ppm_textselect.o ppm_hand1.o ppm_back.o ppm_forw.o
> > -Wl,-bind_at_load  ../../libdjvu/.libs/libdjvulibre.dylib -L/sw/lib
> > -L/sw/lib/qt3/lib /sw/lib/qt3/lib/libqt-mt.dylib
> > -L/sw/lib/freetype219/lib -L/usr/X11R6/lib -lresolv -lz -lGL -lXmu
> > -lXrender -lXrandr -lXcursor -lXinerama -lXft
> > /sw/lib/freetype219/lib/libfreetype.dylib -lfontconfig -ldl -lSM -lICE
> > -lXext -lX11 /sw/lib/libjpeg.dylib /sw/lib/libiconv.dylib -lm
> > creating djview
> > make[2]: Circular Makefile.dep <- Makefile.dep dependency dropped.
> > /bin/sh ../../libtool --mode=compile gcc -I/sw/include -I/sw/include
> > -DHAVE_CONFIG_H  -DNDEBUG -Wall -O3 -I. -I../.. -I../../gui/shared/res
> > -I../../gui/npsdk    -c nsdejavu.c -o nsdejavu.lo
> > mkdir .libs
> >  gcc -I/sw/include -I/sw/include -DHAVE_CONFIG_H -DNDEBUG -Wall -O3
> > -I. -I../.. -I../../gui/shared/res -I../../gui/npsdk -c nsdejavu.c
> > -fno-common -DPIC -o .libs/nsdejavu.o
> > In file included from nsdejavu.c:105:
> > ../../gui/npsdk/npapi.h:129:22: error: X11/Xlib.h: No such file or directory
> > In file included from nsdejavu.c:105:
> > ../../gui/npsdk/npapi.h:148: error: parse error before 'Display'
> > ../../gui/npsdk/npapi.h:148: warning: no semicolon at end of struct or union
> > ../../gui/npsdk/npapi.h:149: warning: type defaults to 'int' in
> > declaration of 'visual'
> > ../../gui/npsdk/npapi.h:149: warning: data definition has no type or
> > storage class
> > ../../gui/npsdk/npapi.h:150: error: parse error before 'colormap'
> > ../../gui/npsdk/npapi.h:150: warning: type defaults to 'int' in
> > declaration of 'colormap'
> > ../../gui/npsdk/npapi.h:150: warning: data definition has no type or
> > storage class
> > ../../gui/npsdk/npapi.h:152: error: parse error before '}' token
> > ../../gui/npsdk/npapi.h:152: warning: type defaults to 'int' in
> > declaration of 'NPSetWindowCallbackStruct'
> > ../../gui/npsdk/npapi.h:152: warning: data definition has no type or
> > storage class
> > nsdejavu.c:107:27: error: X11/Intrinsic.h: No such file or directory
> > nsdejavu.c:108:28: error: X11/IntrinsicP.h: No such file or directory
> >
> >
> > "locate Xlib.h" returns me the following:
> >
> > /Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/include/X11/Xlib.h
> > /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Tk.framework/Versions/8.4/Headers/X11/Xlib.h
> > /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/X11/Xlib.h
> > /System/Library/Frameworks/Tk.framework/Versions/8.4/Headers/X11/Xlib.h
> > /usr/X11R6/include/X11/Xlib.h
> >
> > and "fink-list X11":
> >
> > (some other uninstalled packages)
> >  p   x11                                     [virtual package]
> >      x11-app                1.1.3-1          Apple's X11.app X server
> >  p   x11-dev                                 [virtual package]
> >  p   x11-shlibs                              [virtual package]
> >      x11-ssh-askpass        1.2.4.1-3        X11-based SSH passphrase dialog
> >
> > What am I doing wrong?
> >
> > Thanks a lot,
> >     Mojca Miklavec
> >
>
> There's probably nothing wrong with what you're doing.  It looks like
> you have either XFree86 or Xorg installed and that the djvulibre build
> process assumes the existence of a symbolic link that isn't present in
> those packages.

For XFree86 I get the following hits:

> locate XFree86
/sw/src/XFree86-4.5.0-src-1.tgz
...
/sw/src/XFree86-4.5.0-src-7.tgz
/usr/X11R6/etc/xdm/pixmaps/XFree86.xpm
/usr/X11R6/etc/xdm/pixmaps/XFree86bw.xpm
/usr/X11R6/lib/X11/doc/html/XFree86.1.html
/usr/X11R6/man/man1/XFree86.1

and nothing about Xorg.

Does it mean that I have to wait for a patch or can I create a
symbolic link to proceed (don't know which one) as you suggested?

Thanks a lot,
    Mojca

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to