Re: [Fink-users] Installing geomview on Tiger
Thanks, David. The new version builds fine and a simple test seems to work OK.Thanks,CharlesOn Dec 29, 2005, at 11:22 PM, David R. Morrison wrote:Thanks for the help. A new version of geomview with the changes you suggested is now in Fink. -- DaveOn Dec 27, 2005, at 1:45 PM, Martin Costabel wrote: Charles Williams wrote: Thanks, Martin. I was actually able to get it to build by simply removing the -force_flat_namespace flag (in addition to my previous change). A few quick tests using the example data files seem to work OK. I tried again now and removed the -lXm that I had added before (don't remember why I had added this, but there must have been a reason). It builds now too. Strange.-- Martin Charles A. Williams Dept. of Earth Environmental Sciences Science Center, 2C01B Rensselaer Polytechnic Institute Troy, NY 12180 Phone: (518) 276-3369 FAX: (518) 276-2012 e-mail: [EMAIL PROTECTED]
Re: [Fink-users] Installing geomview on Tiger
Thanks for the help. A new version of geomview with the changes you suggested is now in Fink. -- Dave On Dec 27, 2005, at 1:45 PM, Martin Costabel wrote: Charles Williams wrote: Thanks, Martin. I was actually able to get it to build by simply removing the -force_flat_namespace flag (in addition to my previous change). A few quick tests using the example data files seem to work OK. I tried again now and removed the -lXm that I had added before (don't remember why I had added this, but there must have been a reason). It builds now too. Strange. -- Martin --- 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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
[Fink-users] Installing geomview on Tiger
Hi,I've had this problem for a while, but finally decided to look at it. I've been unable to install geomview on my machine, getting messages like:checking for flex... (cached) flexchecking for yywrap in -lfl... yeschecking lex output file root... lex.yychecking whether yytext is a pointer... yeschecking for bison... bison -ychecking for ranlib... ranlibchecking for a BSD compatible install... /sw/bin/install -cchecking for dvipdf... dvipdfchecking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/includechecking for dnet_ntoa in -ldnet... nochecking for dnet_ntoa in -ldnet_stub... nochecking for gethostbyname... yeschecking for connect... yeschecking for remove... yeschecking for shmat... yeschecking for IceConnectionNumber in -lICE... yeschecking for Xmu... yeschecking for motif... configure: error: Can't find Motif header file Xm/Xm.h. Geomview requires Motif(or Lesstif). See the file INSTALL.Geomview for details.### execution of ./configure failed, exit code 1Removing build lock...Looking at the config.log, I found:configure:2632: checking for Xmuconfigure:2649: checking for XmuLookupStandardColormap with configure:2662: gcc -o conftest -g -O2 -no-cpp-precomp -Dunix -D__FreeBSD__ -I/sw/include -force_flat_namespace -L/sw/lib conftest.c -lXmu -L/usr/X11R6/lib -lSM -lICE -lXt -lXext -lX11 15configure:2699: checking for motifconfigure:2717: checking for Xm/Xm.h with configure:2724: gcc -E -no-cpp-precomp -Dunix -D__FreeBSD__ -I/sw/include conftest.c /dev/null 2conftest.outIn file included from /sw/include/Xm/Xm.h:30, from configure:2720:/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/stddef.h:58:26: error: machine/ansi.h: No such file or directoryconfigure: failed program was:#line 2719 "configure"#include "confdefs.h" #include Xm/Xm.h configure:2717: checking for Xm/Xm.h with configure:2724: gcc -E -no-cpp-precomp -Dunix -D__FreeBSD__ -I/sw/include conftest.c /dev/null 2conftest.outIn file included from /sw/include/Xm/Xm.h:30, from configure:2720:/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/stddef.h:58:26: error: machine/ansi.h: No such file or directoryconfigure: failed program was:#line 2719 "configure"#include "confdefs.h" #include Xm/Xm.h configure:2717: checking for Xm/Xm.h with -I/usr/X11R6/includeconfigure:2724: gcc -E -I/usr/X11R6/include -no-cpp-precomp -Dunix -D__FreeBSD__ -I/sw/include conftest.c /dev/null 2conftest.outIn file included from /sw/include/Xm/Xm.h:30, from configure:2720:/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/stddef.h:58:26: error: machine/ansi.h: No such file or directoryconfigure: failed program was:#line 2719 "configure"#include "confdefs.h" #include Xm/Xm.h configure:2717: checking for Xm/Xm.h with -I/usr/local/includeconfigure:2724: gcc -E -I/usr/local/include -no-cpp-precomp -Dunix -D__FreeBSD__ -I/sw/include conftest.c /dev/null 2conftest.outIn file included from /sw/include/Xm/Xm.h:30, from configure:2720:/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/stddef.h:58:26: error: machine/ansi.h: No such file or directoryconfigure: failed program was:#line 2719 "configure"#include "confdefs.h" #include Xm/Xm.h After looking at some header files, it appears that the __FreeBSD__ definition should be set to the version number. I altered the .info file to set things as follows:SetCPPFLAGS: -no-cpp-precomp -Dunix -D__FreeBSD__=5This got me further (through the configuration and a fair bit of compilation), but then I got:gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I/sw/share/Geomview -I../../../../include -I/usr/X11R6/include -I.. -no-cpp-precomp -Dunix -D__FreeBSD__=5 -I/sw/include -g -O2 -c gvui.cgvui.c: In function 'load_interface':gvui.c:230: warning: pointer targets in passing argument 5 of 'XtAppInitialize' differ in signedness(echo 'char builddate[] = "'"`date +%y%m%d%H%M`"'";'; \ echo 'char buildinfo1[] = "'" By [EMAIL PROTECTED] -r`]"'";'; \ echo 'char buildinfo2[] = "'" On `date`"'";'; \) buildinfo.cgcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I/sw/share/Geomview -I../../../../include -I/usr/X11R6/include -I.. -no-cpp-precomp -Dunix -D__FreeBSD__=5 -I/sw/include -g -O2 -c buildinfo.cgcc -g -O2 -force_flat_namespace -L/sw/lib -o gvx gvappear.o gvcameras.o gvcolor.o gvcommands.o gvcredits.o gvevent.o gvfiles.o gvlights.o gvload.o gvcamui.o gvmain.o gvmaterial.o gvmnpanel.o gvsave.o gvtoolui.o gvui.o ../common/libgvcommon.a buildinfo.o ../../../../src/lib/oogl/wa/libwa.a ../../../../src/lib/camera/libcamera.a ../../../../src/lib/color/libcolor.a ../../../../src/lib/fexpr/libfexpr.a ../../../../src/lib/geomutil/bdy/libbdy.a ../../../../src/lib/geomutil/crayplutil/libcrayplutil.a ../../../../src/lib/geomutil/dim/libdim.a ../../../../src/lib/geomutil/plutil/libplutil.a
Re: [Fink-users] Installing geomview on Tiger
Charles Williams wrote: [] gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I/sw/share/Geomview -I../../../../include -I/usr/X11R6/include -I.. -no-cpp-precomp -Dunix -D__FreeBSD__=5 -I/sw/include -g -O2 -c buildinfo.c gcc -g -O2 -force_flat_namespace -L/sw/lib -o gvx gvappear.o [] ../../../../src/lib/oogl/util/libooglutil.a -L/usr/X11R6/lib -lGL -lGLU -lXm -lXmu -L/usr/X11R6/lib -lSM -lICE -lXt -lXext -lX11 /usr/bin/ld: multiple definitions of symbol _glPointParameteri /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteri /usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteri [] I suppose that using the '-multiply_defined suppress' flag might help here, but then I won't know if I'm using the correct OpenGL libraries (I'm not sure what might be different between the system and X11 versions). Has anyone else run into this problem and are there any suggestions on what to try? You need to remove the -force_flat_namespace flag, then the multiply-defined symbols give ony warnings. I think you need to add some -lXm flags at a couple of places, too, IIRC. I had been there some weeks ago, but gave up after running into multiply-defined symbol errors later on, even without the -force_flat_namespace flag: gcc -g -O2 -L/usr/X11R6 -lXm -L/sw/lib -o clip clip.o clipoogl.o clipmain.o ../../../../src/lib/gprim/stub/libstub.a ../../../../src/lib/oogl/wa/libwa.a ../../../../src/lib/camera/libcamera.a ../../../../src/lib [...] ../../src/lib/oogl/lisp/liblisp.a ../../../../src/lib/oogl/refcomm/librefcomm.a ../../../../src/lib/oogl/util/libooglutil.a /usr/bin/ld: multiple definitions of symbol _BezierReDice ../../../../src/lib/gprim/bezier/libbezier.a(bezdice.o) definition of _BezierReDice in section (__TEXT,__text) ../../../../src/lib/gprim/stub/libstub.a(bezier.o) definition of _BezierReDice in section (__TEXT,__text) [and so on] This is something more profound, because there really are two different definitions of that symbol in two different libraries that are both included on the linker line. -- Martin --- 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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] Installing geomview on Tiger
Thanks, Martin. I was actually able to get it to build by simply removing the -force_flat_namespace flag (in addition to my previous change). A few quick tests using the example data files seem to work OK.Thanks,CharlesOn Dec 27, 2005, at 3:54 PM, Martin Costabel wrote:Charles Williams wrote:[] gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I/sw/share/Geomview -I../../../../include -I/usr/X11R6/include -I.. -no-cpp-precomp -Dunix -D__FreeBSD__=5 -I/sw/include -g -O2 -c buildinfo.cgcc -g -O2 -force_flat_namespace -L/sw/lib -o gvx gvappear.o [] ../../../../src/lib/oogl/util/libooglutil.a -L/usr/X11R6/lib -lGL -lGLU -lXm -lXmu -L/usr/X11R6/lib -lSM -lICE -lXt -lXext -lX11 /usr/bin/ld: multiple definitions of symbol _glPointParameteri/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib(gll_api.o) definition of _glPointParameteri/usr/X11R6/lib/libGL.dylib(dri_dispatch.o) definition of _glPointParameteri [] I suppose that using the '-multiply_defined suppress' flag might help here, but then I won't know if I'm using the correct OpenGL libraries (I'm not sure what might be different between the system and X11 versions). Has anyone else run into this problem and are there any suggestions on what to try? You need to remove the -force_flat_namespace flag, then the multiply-defined symbols give ony warnings. I think you need to add some -lXm flags at a couple of places, too, IIRC. I had been there some weeks ago, but gave up after running into multiply-defined symbol errors later on, even without the -force_flat_namespace flag:gcc -g -O2 -L/usr/X11R6 -lXm -L/sw/lib -o clip clip.o clipoogl.o clipmain.o ../../../../src/lib/gprim/stub/libstub.a ../../../../src/lib/oogl/wa/libwa.a ../../../../src/lib/camera/libcamera.a ../../../../src/lib[...]../../src/lib/oogl/lisp/liblisp.a ../../../../src/lib/oogl/refcomm/librefcomm.a ../../../../src/lib/oogl/util/libooglutil.a/usr/bin/ld: multiple definitions of symbol _BezierReDice../../../../src/lib/gprim/bezier/libbezier.a(bezdice.o) definition of _BezierReDice in section (__TEXT,__text)../../../../src/lib/gprim/stub/libstub.a(bezier.o) definition of _BezierReDice in section (__TEXT,__text)[and so on]This is something more profound, because there really are two different definitions of that symbol in two different libraries that are both included on the linker line.-- Martin Charles A. Williams Dept. of Earth Environmental Sciences Science Center, 2C01B Rensselaer Polytechnic Institute Troy, NY 12180 Phone: (518) 276-3369 FAX: (518) 276-2012 e-mail: [EMAIL PROTECTED]
Re: [Fink-users] Installing geomview on Tiger
Charles Williams wrote: Thanks, Martin. I was actually able to get it to build by simply removing the -force_flat_namespace flag (in addition to my previous change). A few quick tests using the example data files seem to work OK. I tried again now and removed the -lXm that I had added before (don't remember why I had added this, but there must have been a reason). It builds now too. Strange. -- Martin --- 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://ads.osdn.com/?ad_id=7637alloc_id=16865op=click ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users