grass70-x11 fails to build with this error:

gcc 
-L/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/lib
 
-L/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/lib
 
-L/sw/lib -L/opt/X11/lib -L/sw/lib   -o 
OBJ.x86_64-apple-darwin15.6.0/GRASS OBJ.x86_64-apple-darwin15.6.0/main.o 
-framework Cocoa -framework AppleScriptKit
make[2]: Nothing to be done for `first'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make 
/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/AUTHORS
 
/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/CHANGES
 
/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/CITING
 
/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/COPYING
 
/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/GPL.TXT
 
/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/INSTALL
 
/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/REQUIREMENTS.html
 
/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/contributors.csv
 
/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/contributors_extra.csv
 
/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/translators.csv
/usr/bin/install -c  -m 644 AUTHORS 
/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/AUTHORS
/usr/bin/install -c  -m 644 CHANGES 
/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/CHANGES
/usr/bin/install -c  -m 644 CITING 
/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/CITING
/usr/bin/install -c  -m 644 COPYING 
/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/COPYING
/usr/bin/install -c  -m 644 GPL.TXT 
/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/GPL.TXT
/usr/bin/install -c  -m 644 INSTALL 
/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/INSTALL
/usr/bin/install -c  -m 644 REQUIREMENTS.html 
/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/REQUIREMENTS.html
/usr/bin/install -c  -m 644 contributors.csv 
/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/contributors.csv
/usr/bin/install -c  -m 644 contributors_extra.csv 
/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/contributors_extra.csv
/usr/bin/install -c  -m 644 translators.csv 
/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/translators.csv
/Applications/Xcode.app/Contents/Developer/usr/bin/make manifests
make[1]: Nothing to be done for `manifests'.
GRASS GIS 7.0.5 r00000 compilation log
--------------------------------------------------
Started compilation: Fri Mar 31 22:12:45 CDT 2017
--
Errors in:
/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/visualization/wximgview
--
In case of errors please change into the directory with error and run 
'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
--
Finished compilation: Fri Mar 31 22:14:19 CDT 2017
make: *** [default] Error 1


The actual error further up in the build log is:

: && c++ 
-L/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/lib
 
-L/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/lib
 
-L/sw/lib -L/opt/X11/lib -L/sw/lib   -o 
/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/bin/wximgview
 
OBJ.x86_64-apple-darwin15.6.0/main.o    -lgrass_gis.7.0.5 -L/sw/lib 
-L/sw/lib -L/opt/X11/lib  -L/usr/X11R6/lib  -L/sw/lib -framework IOKit 
-framework CoreServices -framework System -framework ApplicationServices 
-lgdk-x11-2.0 -lgobject-2.0 -lX11  -lwx_gtk2u_richtext-2.8 
-lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 
-lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 
-lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8
ld: library not found for -lgdk-x11-2.0
clang: error: linker command failed with exit code 1 (use -v to see 
invocation)
make[3]: *** 
[/sw/build.build/grass70-x11-7.0.5-1/grass-7.0.5/dist.x86_64-apple-darwin15.6.0/bin/wximgview]
 
Error 1

I don't have gtk+2-dev installed, which provides 
/sw/lib/libgdk-x11-2.0.dylib.  grass70-x11 needs an explicit 
(Build)Depends on gtk+2-(dev,shlibs).

Hanspeter

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to