-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/23/11 5:06 PM, Paul Wessel wrote:
> Hi list-
> 
> Installed fink from scratch on brand new Mac Mini 2011 OS X Lion 
> Server and latest Xcode.  After the basic install as well as 
> successfully installing packages netcdf, graphicsmagick, texlive, 
> man2html, tex4ht and pcre, I tried
> 
> sudo fink install gdal

(you don't need to use 'sudo' before 'fink')

> 
> This failed because libogdi3-3.1.5-1005 failed to install.
> 
> ……… ../shpopen.c:350:5: note: please include the header <string.h> 
> or explicitly provide a declaration for 'strcpy' gcc -I.. 
> -I/sw/src/fink.build/libogdi3-3.1.5-1005/ogdi-3.1.5/include/darwin 
> -I/sw/src/fink.build/libogdi3-3.1.5-1005/ogdi-3.1.5/ogdi/include 
> -I/sw/include -I/sw/include -O -fno-common -I/sw/include  -c -o 
> ecssplit.o ../ecssplit.c Making executable: 
> /sw/src/fink.build/libogdi3-3.1.5-1005/ogdi-3.1.5/bin/darwin/ogdi_info
>
>
> 
gcc -O -o
/sw/src/fink.build/libogdi3-3.1.5-1005/ogdi-3.1.5/bin/darwin/ogdi_info
ogdi_info.o
- -L/sw/src/fink.build/libogdi3-3.1.5-1005/ogdi-3.1.5/bin/darwin
- -logdi31 -lz -ldl  -L/sw/lib -lproj  -lm -lc
> ld: library not found for -logdi31 clang: error: linker command 
> failed with exit code 1 (use -v to see invocation) make[3]: *** 
> [/sw/src/fink.build/libogdi3-3.1.5-1005/ogdi-3.1.5/bin/darwin/ogdi_info]
>
> 
Error 1 make[2]: *** [all] Error 2 make[1]: *** [ogdi_info] Error
> 2
> 
> Package manager version: 0.31.3 Distribution version: 
> selfupdate-rsync Sun Oct 23 08:28:32 2011, 10.7, x86_64 Trees: 
> stable/main local/main Xcode: 4.1
> 
> Paul Wessel
> 
> 

Try setting the maximum number of build processors to 1 via  "fink
configure" and then attempt the build again.

It looks like libogdi31 didn't get generated, and it's quite possible
that this is due to  parallel threads getting out of order.  It may be
the case that this package can't handle building in more than one thread.

If you already only had one processor set, then please pot back with
that information and we'll look elsewhere for possible causes.
- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6kmv0ACgkQB8UpO3rKjQ8aTwCgkKg/X/8k5t58oEu0XM04G45q
2rEAn2Rn8iFMm9t5m2FsgKOWlUZvlzO8
=8T4U
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to