Dear Kurt Schwehr,

I noticed that proj-4.8.0-3's info file contains the entry 'SetLDFLAGS:
-no-undefined'. Unfortunately this is the root cause for not compiling
that package on my box.

---8<---
configure:2850: gcc  -I/sw/include -no-undefined -L/sw/lib conftest.c  >&5
clang: error: unknown argument: '-no-undefined'
[-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a
warning) in the future
configure:2853: $? = 1
configure:2891: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "PROJ.4 Projections"
| #define PACKAGE_TARNAME "proj"
| #define PACKAGE_VERSION "4.7.0"
| #define PACKAGE_STRING "PROJ.4 Projections 4.7.0"
| #define PACKAGE_BUGREPORT "warmer...@pobox.com"
| #define PACKAGE "proj"
| #define VERSION "4.7.0"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2898: error: C compiler cannot create executables
See `config.log' for more details.
--->8---

---8<---
% gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
--->8---

Commenting that line makes it compile for me.

Best regards

Andreas Bießmann

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to