Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#17552 closed defect (fixed)

SoXt fails to build

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: cssdev
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: doxygen Cc: cssdev
Port: SoXt

Description

Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_x11_SoXt/work/SoXt-1.2.2" && make all " returned error 2
Command output: Making all in man
Making all in man1
make  all-am
make[4]: Nothing to be done for `all-am'.
Making all in man3
Warning: Tag `DETAILS_AT_TOP' at line 204 of file sogui.doxygen has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `ALPHABETICAL_INDEX' at line 501 of file sogui.doxygen has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `MAX_DOT_GRAPH_WIDTH' at line 983 of file sogui.doxygen has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `MAX_DOT_GRAPH_HEIGHT' at line 991 of file sogui.doxygen has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `CGI_NAME' at line 1018 of file sogui.doxygen has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `CGI_URL' at line 1024 of file sogui.doxygen has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `DOC_URL' at line 1030 of file sogui.doxygen has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `DOC_ABSPATH' at line 1036 of file sogui.doxygen has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `BIN_ABSPATH' at line 1041 of file sogui.doxygen has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `EXT_DOC_PATHS' at line 1047 of file sogui.doxygen has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
config.l<1304>: Internal error: Requested unknown option GENERATE_INDEXLOG!
make[3]: *** [SoXtObject.3] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Warning: the following items did not execute (for SoXt): org.macports.destroot org.macports.build
Error: Status 1 encountered during processing.

This also needs some depends updates (remove Xfree86 from run and add doxygen to build)

Change History (6)

comment:1 Changed 15 years ago by cssdev

Status: newassigned

I added doxygen as a dependency, but I only get the warning about updating the config file:

Making all in man3
Warning: Tag `DETAILS_AT_TOP' at line 204 of file sogui.doxygen has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `MAX_DOT_GRAPH_WIDTH' at line 983 of file sogui.doxygen has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `MAX_DOT_GRAPH_HEIGHT' at line 991 of file sogui.doxygen has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `CGI_NAME' at line 1018 of file sogui.doxygen has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `CGI_URL' at line 1024 of file sogui.doxygen has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `DOC_URL' at line 1030 of file sogui.doxygen has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `DOC_ABSPATH' at line 1036 of file sogui.doxygen has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `BIN_ABSPATH' at line 1041 of file sogui.doxygen has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
Warning: Tag `EXT_DOC_PATHS' at line 1047 of file sogui.doxygen has become obsolete.
To avoid this warning please update your configuration file using "doxygen -u"
ls *.3 >filelist.txt
make[3]: Nothing to be done for `all-am'.

I'm not able to reproduce your error on Mac OS X 10.5.5. Can you provide some more information about your configuration?

comment:2 Changed 15 years ago by cssdev

I still need to modify the dependencies...

$ otool -L work/destroot/opt/local/lib/libSoXt.dylib 
work/destroot/opt/local/lib/libSoXt.dylib:
	/opt/local/lib/libSoXt.2.dylib (compatibility version 3.0.0, current version 3.0.0)
	/usr/X11/lib/libGL.1.dylib (compatibility version 1.2.0, current version 1.2.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
	/opt/local/lib/libpng12.0.dylib (compatibility version 34.0.0, current version 34.0.0)
	/opt/local/lib/libjpeg.62.dylib (compatibility version 63.0.0, current version 63.0.0)
	/usr/X11/lib/libXdmcp.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/X11/lib/libXau.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/local/lib/libfreetype.6.dylib (compatibility version 10.0.0, current version 10.18.0)
	/opt/local/lib/libexpat.1.dylib (compatibility version 7.0.0, current version 7.2.0)
	/opt/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/local/lib/libfontconfig.1.dylib (compatibility version 5.0.0, current version 5.0.0)
	/opt/local/lib/libXrender.1.dylib (compatibility version 5.0.0, current version 5.0.0)
	/opt/local/lib/libXft.2.dylib (compatibility version 4.0.0, current version 4.13.0)
	/opt/local/lib/libXm.4.dylib (compatibility version 5.0.0, current version 5.1.0)
	/opt/local/lib/libCoin.40.dylib (compatibility version 46.0.0, current version 46.0.0)
	/usr/X11/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0)
	/usr/X11/lib/libSM.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/X11/lib/libICE.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/usr/X11/lib/libX11.6.dylib (compatibility version 9.0.0, current version 9.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.1)
	/usr/X11/lib/libXt.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/X11/lib/libXp.6.dylib (compatibility version 9.0.0, current version 9.0.0)
	/usr/X11/lib/libXi.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/X11/lib/libXmu.6.dylib (compatibility version 9.0.0, current version 9.0.0)
	/usr/X11/lib/libXpm.4.dylib (compatibility version 16.0.0, current version 16.0.0)
	/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)

comment:3 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

After uninstalling and reinstalling doxygen, I don't get that problem. here's an update to get it to compile on Leopard with updated X11 dependencies (mesa is commented out because it's not in svn yet):

Index: Portfile
===================================================================
--- Portfile	(revision 43881)
+++ Portfile	(working copy)
@@ -17,13 +17,25 @@
 master_sites		http://ftp.coin3d.org/coin/src/all/
 checksums		md5 25f7d18998e6cc1403e0f3ae0c235500
 
-depends_build		lib:libX11.6:XFree86
-depends_lib		port:Coin lib:libXm.4:openmotif
+depends_build \
+	port:doxygen
 
-use_configure		yes
+#	lib:libGL.1:mesa \
+depends_lib \
+	lib:libXi.6:xorg-libXi \
+	lib:libXmu.6:xorg-libXmu \
+	lib:libXp.6:xorg-libXp \
+	lib:libXpm.4:xpm \
+	lib:libXm:openmotif \
+	port:Coin
+
 configure.args		--enable-man --mandir=${prefix}/share/man \
 			--with-coin=${prefix}
 
+# This package doesn't ship somf of its used m4 macros, so we can't autoreconf to do this...
+configure.cppflags-append -I${x11prefix}/include
+configure.ldflags-append  -L${x11prefix}/lib
+
 platform darwin {
 	configure.args-append	--enable-darwin-x11
 }

comment:4 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: assignedclosed

comment:5 Changed 15 years ago by cssdev

Seems to work without any trouble. Thanks for the patch!

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.