Re: [Fink-users] Failed: phase compiling: image-oct360-2.0.0-1 failed

2012-12-05 Thread Alexander Hansen
On 12/4/12 7:16 PM, Alexander Hansen wrote:
 On 12/4/12 4:07 PM, Dominique Dhumieres wrote:
 I'll probably have to force it to use gcc47 (until gcc48 is in Fink)

 I have not been successful with gcc48;-(what is the way to use gcc47?).

 Dominique

 
 It depends on the package--often I have to patch them to use
 mkoctfile-octave version-gcc47 instead of mkoctfile.
 

I just committed a change which should help--it uses gcc47 and changes
the order of build operations a bit.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
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: image-oct360-2.0.0-1 failed

2012-12-04 Thread Dominique Dhumieres
 What does the config.log file say?

I have been unable to find any config.log file in
/sw64/src/fink.build/image-oct360-2.0.0-1.
Where should I find it?

TIA

Dominique

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
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: image-oct360-2.0.0-1 failed

2012-12-04 Thread Alexander Hansen
On 12/4/12 2:37 PM, Dominique Dhumieres wrote:
 What does the config.log file say?
 
 I have been unable to find any config.log file in
 /sw64/src/fink.build/image-oct360-2.0.0-1.
 Where should I find it?
 
 TIA
 
 Dominique
 

I was going by what the error message said. :-)  Upstream appears to
have been lying.

There might be an error in my wrapper scripts.  What do you get from

oct-cxx --version

and

cat oct-cxx

?
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
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: image-oct360-2.0.0-1 failed

2012-12-04 Thread Dominique Dhumieres
When oct-cxx --version returns

i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

The configure fails with

...
configure:2126: checking whether the C++ compiler works
configure:2148: g++ -std=c++0x -std=c++0x  conftest.cpp  5
cc1plus: error: unrecognized command line option -std=c++0x
cc1plus: error: unrecognized command line option -std=c++0x
configure:2152: $? = 1
configure:2190: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME 
| #define PACKAGE_TARNAME 
| #define PACKAGE_VERSION 
| #define PACKAGE_STRING 
| #define PACKAGE_BUGREPORT 
| #define PACKAGE_URL 
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2195: error: in `/private/var/tmp/oct-wIIjnK/image/src':
configure:2197: error: C++ compiler cannot create executables
See `config.log' for more details
...

If I use

c++ (GCC) 4.8.0 20121129 (experimental) [trunk revision 193933]
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

then running configure in the same directory as above works, i.e.,
no C++ compiler cannot create executables in 
/var/tmp/oct-wIIjnK/image/src/config.log
however I get it when I run fink update.

AFAICT the package is configured in a temporary directory. Is there a way
to keep it after the error?

TIA

Dominique

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
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: image-oct360-2.0.0-1 failed

2012-12-04 Thread Alexander Hansen
On 12/4/12 3:49 PM, Dominique Dhumieres wrote:
 When oct-cxx --version returns
 
 i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
 Copyright (C) 2007 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 

At least that's performing as intended. :-)

 The configure fails with
 
 ...
 configure:2126: checking whether the C++ compiler works
 configure:2148: g++ -std=c++0x -std=c++0x  conftest.cpp  5
 cc1plus: error: unrecognized command line option -std=c++0x
 cc1plus: error: unrecognized command line option -std=c++0x
 configure:2152: $? = 1
 configure:2190: result: no
 configure: failed program was:
 | /* confdefs.h */
 | #define PACKAGE_NAME 
 | #define PACKAGE_TARNAME 
 | #define PACKAGE_VERSION 
 | #define PACKAGE_STRING 
 | #define PACKAGE_BUGREPORT 
 | #define PACKAGE_URL 
 | /* end confdefs.h.  */
 | 
 | int
 | main ()
 | {
 | 
 |   ;
 |   return 0;
 | }
 configure:2195: error: in `/private/var/tmp/oct-wIIjnK/image/src':
 configure:2197: error: C++ compiler cannot create executables
 See `config.log' for more details
 ...
 
 If I use
 
 c++ (GCC) 4.8.0 20121129 (experimental) [trunk revision 193933]
 Copyright (C) 2012 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 
 then running configure in the same directory as above works, i.e.,
 no C++ compiler cannot create executables in 
 /var/tmp/oct-wIIjnK/image/src/config.log
 however I get it when I run fink update.
 
 AFAICT the package is configured in a temporary directory. Is there a way
 to keep it after the error?
 
 TIA
 
 Dominique
 

Thanks for the additional information.  I don't know offhand how to
suppress cleaning the temporary directory.  That's set by Octave
upstream rather than me.

I guess they've decided to use options that aren't supported in the
Xcode compilers for 10.6 and earlier.  I've got 10.5 available right
now, so I can confirm this.

I'll probably have to force it to use gcc47 (until gcc48 is in Fink)
(gcc46 on PowerPC).
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
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: image-oct360-2.0.0-1 failed

2012-12-04 Thread Dominique Dhumieres
 I'll probably have to force it to use gcc47 (until gcc48 is in Fink)

I have not been successful with gcc48;-(what is the way to use gcc47?).

Dominique

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
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: image-oct360-2.0.0-1 failed

2012-12-04 Thread Alexander Hansen
On 12/4/12 4:07 PM, Dominique Dhumieres wrote:
 I'll probably have to force it to use gcc47 (until gcc48 is in Fink)
 
 I have not been successful with gcc48;-(what is the way to use gcc47?).
 
 Dominique
 

It depends on the package--often I have to patch them to use
mkoctfile-octave version-gcc47 instead of mkoctfile.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
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


[Fink-users] Failed: phase compiling: image-oct360-2.0.0-1 failed

2012-12-03 Thread Dominique Dhumieres
Updating to image-oct3*-2.0.0-1 on

Package manager version: 0.34.4
Distribution version: selfupdate-rsync Mon Dec  3 20:57:06 2012, 10.6, x86_64
Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
Xcode.app: 3.2.6
Xcode command-line tools: 3.2.6
image-oct360-2.0.0-1 is set to build with only one job.

failed with

...
executing commands from /sw64/share/octave/site/m/startup/octaverc ... done.
warning: function /sw64/share/octave/3.6.0/packages/statistics-1.1.3/fstat.m 
shadows a core library function
executing commands from /sw64/share/octave/3.6.0/m/startup/octaverc ... done.

ans = /sw64/src/fink.build/image-oct360-2.0.0-1/bld/share/octave/3.6.0/packages
mkdir (/var/tmp/oct-JnpAeQ)
untar (./image-2.0.0.tar, /var/tmp/oct-JnpAeQ)
See `config.log' for more details
the configure script returned the following error: checking whether the C++ 
compiler works... no
error: called from `pkgconfigure_make' in file 
/sw64/share/octave/3.6.0/m/pkg/pkg.m near line 1373, column 9
error: called from:
error:   /sw64/share/octave/3.6.0/m/pkg/pkg.m at line 827, column 5
error:   /sw64/share/octave/3.6.0/m/pkg/pkg.m at line 383, column 9
error:   /sw64/src/fink.build/image-oct360-2.0.0-1/bld/octave-forge-comp at 
line 4, column 1
### execution of /tmp/fink.5AqVc failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw64/bin/dpkg-lockwait -r fink-buildlock-image-oct360-2.0.0-1
(Reading database ... 482794 files and directories currently installed.)
Removing fink-buildlock-image-oct360-2.0.0-1 ...
Failed: phase compiling: image-oct360-2.0.0-1 failed
...

gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)

TIA

Dominique

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
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: image-oct360-2.0.0-1 failed

2012-12-03 Thread Alexander Hansen
On 12/3/12 1:06 PM, Dominique Dhumieres wrote:
 Updating to image-oct3*-2.0.0-1 on
 
 Package manager version: 0.34.4
 Distribution version: selfupdate-rsync Mon Dec  3 20:57:06 2012, 10.6, x86_64
 Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
 Xcode.app: 3.2.6
 Xcode command-line tools: 3.2.6
 image-oct360-2.0.0-1 is set to build with only one job.
 
 failed with
 
 ...
 executing commands from /sw64/share/octave/site/m/startup/octaverc ... done.
 warning: function /sw64/share/octave/3.6.0/packages/statistics-1.1.3/fstat.m 
 shadows a core library function
 executing commands from /sw64/share/octave/3.6.0/m/startup/octaverc ... done.
 
 ans = 
 /sw64/src/fink.build/image-oct360-2.0.0-1/bld/share/octave/3.6.0/packages
 mkdir (/var/tmp/oct-JnpAeQ)
 untar (./image-2.0.0.tar, /var/tmp/oct-JnpAeQ)
 See `config.log' for more details
 the configure script returned the following error: checking whether the C++ 
 compiler works... no
 error: called from `pkgconfigure_make' in file 
 /sw64/share/octave/3.6.0/m/pkg/pkg.m near line 1373, column 9
 error: called from:
 error:   /sw64/share/octave/3.6.0/m/pkg/pkg.m at line 827, column 5
 error:   /sw64/share/octave/3.6.0/m/pkg/pkg.m at line 383, column 9
 error:   /sw64/src/fink.build/image-oct360-2.0.0-1/bld/octave-forge-comp at 
 line 4, column 1
 ### execution of /tmp/fink.5AqVc failed, exit code 1
 Removing runtime build-lock...
 Removing build-lock package...
 /sw64/bin/dpkg-lockwait -r fink-buildlock-image-oct360-2.0.0-1
 (Reading database ... 482794 files and directories currently installed.)
 Removing fink-buildlock-image-oct360-2.0.0-1 ...
 Failed: phase compiling: image-oct360-2.0.0-1 failed
 ...
 
 gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
 
 TIA
 
 Dominique
 

What does the config.log file say?  I can't currently test on 10.6, and
the package worked for me on 10.8.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
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