[Fink-users] Failed: phase compiling: svn-swig-pm588-1.7.7-1 failed

2012-10-25 Thread Dominique Dhumieres
Updating to svn-swig-pm588-1.7.7-1 on

Package manager version: 0.34.4
Distribution version: selfupdate-rsync Thu Oct 25 19:36:03 2012, 10.5, powerpc
Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
Xcode.app: 3.1.4
Xcode command-line tools: 3.1.4
Max. Fink build jobs:  1

failed with

cc -c  -I/sw/include/apache2   -I/sw/include/apache2 -I/sw/include  
-I../../../../../subversion/bindings/swig/perl/libsvn_swig_perl  
-I../../../../../subversion/include  -I../../../../../subversion  
-I../../../../../subversion/bindings/swig -g -g -O2  -g -O2  
-Werror=implicit-function-declaration -g -pipe -fno-common -DPERL_DARWIN 
-no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after-statement 
-I/usr/local/include -O3   -DVERSION=\\ -DXS_VERSION=\\  
-I/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE  -I/sw/include  
-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp core.c
cc1: error: unrecognized command line option 
-Werror=implicit-function-declaration

The build seems to use version 4.0.1 which does not support
-Werror=implicit-function-declaration. So either the
option should be removed or gcc 4.2.1 should be used.

TIA

Dominique

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
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


Re: [Fink-users] Failed: phase compiling: svn-swig-pm588-1.7.7-1 failed

2012-10-25 Thread Daniel Johnson

On Oct 25, 2012, at 1:45 PM, domi...@lps.ens.fr (Dominique Dhumieres) wrote:

 Updating to svn-swig-pm588-1.7.7-1 on
 
 Package manager version: 0.34.4
 Distribution version: selfupdate-rsync Thu Oct 25 19:36:03 2012, 10.5, powerpc
 Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
 Xcode.app: 3.1.4
 Xcode command-line tools: 3.1.4
 Max. Fink build jobs:  1
 
 failed with
 
 cc -c  -I/sw/include/apache2   -I/sw/include/apache2 -I/sw/include  
 -I../../../../../subversion/bindings/swig/perl/libsvn_swig_perl  
 -I../../../../../subversion/include  -I../../../../../subversion  
 -I../../../../../subversion/bindings/swig -g -g -O2  -g -O2  
 -Werror=implicit-function-declaration -g -pipe -fno-common -DPERL_DARWIN 
 -no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after-statement 
 -I/usr/local/include -O3   -DVERSION=\\ -DXS_VERSION=\\  
 -I/System/Library/Perl/5.8.8/darwin-thread-multi-2level/CORE  -I/sw/include 
  -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp core.c
 cc1: error: unrecognized command line option 
 -Werror=implicit-function-declaration
 
 The build seems to use version 4.0.1 which does not support
 -Werror=implicit-function-declaration. So either the
 option should be removed or gcc 4.2.1 should be used.
 
 TIA
 
 Dominique

That is unexpected. The configure script checks if the compiler works with 
-Werror=implicit-function-declaration before setting it. Can you send me the 
build log and the config.log file? I'd like to figure out why this is happening.

Daniel


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
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


Re: [Fink-users] Failed: phase compiling: svn-swig-pm588-1.7.7-1 failed

2012-10-25 Thread Dominique Dhumieres
I have updated svn-swig-pm588 by setting the default gcc compiler to 4.0.1.
Apparently the configure use the default gcc compiler (4.8.0 in my case),
but the build use gcc 4.0.1.

I saw

configure:19537: $? = 0
configure:19537: result: yes
configure:19594: gcc -c -g -O2  -g -O2  -Werror=implicit-function-declaration 
-I/sw/include  -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp 
conftest.c 5
configure:19594: $? = 0
configure:19929: checking zlib.h usability
configure:19929: gcc -c -g -O2  -g -O2  -Werror=implicit-function-declaration 
-I/sw/include  -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp 
conftest.c 5

in the failing config.log.

Thanks for the answer,

Dominique

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
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


Re: [Fink-users] Failed: phase compiling: svn-swig-pm588-1.7.7-1 failed

2012-10-25 Thread Daniel Johnson

On Oct 25, 2012, at 7:19 PM, domi...@lps.ens.fr (Dominique Dhumieres) wrote:

 I have updated svn-swig-pm588 by setting the default gcc compiler to 4.0.1.
 Apparently the configure use the default gcc compiler (4.8.0 in my case),
 but the build use gcc 4.0.1.
 
 I saw
 
 configure:19537: $? = 0
 configure:19537: result: yes
 configure:19594: gcc -c -g -O2  -g -O2  -Werror=implicit-function-declaration 
 -I/sw/include  -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp 
 conftest.c 5
 configure:19594: $? = 0
 configure:19929: checking zlib.h usability
 configure:19929: gcc -c -g -O2  -g -O2  -Werror=implicit-function-declaration 
 -I/sw/include  -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp 
 conftest.c 5
 
 in the failing config.log.
 
 Thanks for the answer,
 
 Dominique

How did 'gcc' get to be gcc 4.8.0? Did you create a symlink to it? That's 
likely to cause a lot of problems.

Daniel


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
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


Re: [Fink-users] Failed: phase compiling: svn-swig-pm588-1.7.7-1 failed

2012-10-25 Thread Dominique Dhumieres
 How did 'gcc' get to be gcc 4.8.0? Did you create a symlink to it?

I put the bin dir in the PATH after the sw ones, but before the usr ones.

 That's likely to cause a lot of problems.

A few problems, yes (as in this case), but not a lot, probably not more
than having gcc 4.2 as the default (I have to do the switching each time
fink is updated).

Apparently most of the packages set CC and CXX to what they need.

Dominique

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
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