Date: Tue, 08 Oct 2002 12:15:45 +0900 From: Rob Lahaye <lahaye@snu.ac.kr> To: xforms@bob.usuhs.mil, mikeh@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: XForms: Problems compiling RC5.2 Message-ID: <3DA24DE1.5040302@snu.ac.kr> References: <XFMail.20021007121930.mheffner@vt.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Heffner wrote: > # To subscribers of the xforms list from Mike Heffner <mheffner@vt.edu> : > > [resent since I didn't know the list was limited to only subscribers] > > Hi, > > I've just updated the FreeBSD xforms port from RC4->RC5.2, however there > seem to have been several things changed with the build process that broke > building xforms between rc4 and rc5.2 (at least on FreeBSD). First, > 'InstallNonstandard' was changed from NO->YES, so it won't find the X > libs. Was this intentional? 00Readme till has it listed as set to NO. > Second, fd2ps was changed to link with libflimage (instead of xpmlibs) > which requires libjpeg, however fd2ps doesn't link with libjpeg, so there > were linker errors trying to find libjpeg. I changed fd2ps back to link > with xpm instead of flimage and I didn't encounter any problems that way. > ;-) I've tried the port on my FreeBSD 4.6 PC, but failed; see below. The make in the Xforms port directory fails. The problem is that I have Xforms 1.0RC4 still installed and somehow the old libs of RC4 in /usr/X11R6/lib are used for the demos, instead of the newly generated libs in the port directory of RC5. (don't blame me for that, because I ONLY remove an installed and working Xforms port, AFTER I'm sure the new one compiles!). However, when I removed/renamed /usr/X11R6/lib/libflimage.so and /usr/X11R6/lib/libflimage.a, the new xforms port compiled like a charm. So another fix is needed for the demos to enforce using the new RC5 libs in ../../lib (or whatever), instead of using the old ones in /usr/X11R6/lib !! Regards, Rob. This is how my port compilation initally failed: [...] rm -f matrix.o cc -c -O -pipe -march=pentiumpro -O -I/usr/local/include -I../exports/include -I../lib -I../lib/private -I. -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -O -I/usr/local/include -I../exports/include -I../lib -I../lib/private -I. -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -fPIC matrix.c rm -f libflimage.so.1.0~ + cd . + cc -o ./libflimage.so.1.0~ -shared -rpath /usr/X11R6/lib -Wl,-soname,libflimage.so.1 image.o image_bmp.o image_combine.o image_convolve.o image_crop.o image_disp.o image_fits.o image_genesis.o image_gif.o image_gzip.o image_io_filter.o image_jpeg.o image_jquant.o image_marker.o image_png.o image_pnm.o image_postscript.o image_proc.o image_replace.o image_rotate.o image_scale.o image_sgi.o image_text.o image_tiff.o image_type.o image_warp.o image_xbm.o image_xpm.o image_xwd.o postscript.o ps_core.o ps_draw.o ps_text.o rgb_db.o matrix.o -L/usr/X11R6/lib -lXext -lX11 -L/usr/local/lib -L../lib -lforms -L/usr/local/lib -ljpeg -ltiff + rm -f libflimage.so.1 + ln -s libflimage.so.1.0 libflimage.so.1 + true rm -f libflimage.so.1.0 mv -f libflimage.so.1.0~ libflimage.so.1.0 + rm -f libflimage.so + ln -s libflimage.so.1.0 libflimage.so rm -f libflimage.a (cd unshared && ar clq ../libflimage.a image.o image_bmp.o image_combine.o image_convolve.o image_crop.o image_disp.o image_fits.o image_genesis.o image_gif.o image_gzip.o image_io_filter.o image_jpeg.o image_jquant.o image_marker.o image_png.o image_pnm.o image_postscript.o image_proc.o image_replace.o image_rotate.o image_scale.o image_sgi.o image_text.o image_tiff.o image_type.o image_warp.o image_xbm.o image_xpm.o image_xwd.o postscript.o ps_core.o ps_draw.o ps_text.o rgb_db.o matrix.o) ranlib libflimage.a making all in ./gl... making all in ./fdesign... making all in ./fd2ps... making all in ./demos... rm -f arrowbutton cc -o arrowbutton -O -L../lib -lforms -L/usr/X11R6/lib arrowbutton.o -lXext -lX11 -L../image -lflimage -L../lib -lforms -lXpm -L/usr/local/lib -ljpeg -lm -Wl,-rpath,/usr/X11R6/lib /usr/X11R6/lib/libflimage.so: undefined reference to `fl_lookup_RGBcolor' *** Error code 1 Stop in /usr/ports/x11-toolkits/xforms/work/xforms-1.0RC5.2/demos. *** Error code 1 Stop in /usr/ports/x11-toolkits/xforms/work/xforms-1.0RC5.2. *** Error code 1 Stop in /usr/ports/x11-toolkits/xforms. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DA24DE1.5040302>