From ur2c at me.com Mon Dec 9 18:00:33 2013 From: ur2c at me.com (ur2c at me.com) Date: Mon, 09 Dec 2013 15:00:33 -0200 Subject: [RPL/2] Fwd: compilation failure mac os x 10.9 References: <52A5DF11.40406@systella.fr> Message-ID: > From: BERTRAND Jo?l > Subject: Re: compilation failure mac os x 10.9 > Date: 2013-12-09=2 at 13:17'37 -0200 > To: ur2c > > ur2c a ?crit : >> Hello > > Hello, > >> I?m an old-time HP calc user who found your RPL/2 this morning. >> >> I downloaded rpl-4.1.16.tar.bz2 to a MacBook Air running under OS X 10.9; ran ./config and then make. The process stopped with this: >> >> --- >> gcc -O3 -DHAVE_HIDDEN -o minigzip minigzip.o -L. libz.a >> (cd ./lapack/lapack&& /Applications/Xcode.app/Contents/Developer/usr/bin/make ) >> F77 liblapack_a-iparmq.o >> f951: error: unrecognized command line option "-mieee" >> make[2]: *** [liblapack_a-iparmq.o] Error 1 >> make[1]: *** [lapack/lapack/liblapack.a] Error 2 >> make: *** [all] Error 2 >> ? >> >> Hoping that a daily version would have solved the problem, I downloaded rpl-4.1.17-daily-20131209.tar.bz2 to do the same. It stopped the same way. > > What is your compiler ? I've only tested with gcc-4.2/g++-4.2 and gfortran-4.2 on MacOS X. I don't have any MasOS X workstation anymore. $ gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1 Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: x86_64-apple-darwin13.0.0 Thread model: posix $ gfortran --version GNU Fortran (GCC) 4.2.3 > This bug comes only if your gcc compiler accepts -mieee and if your gfortran doesn't. Normally, if gcc, g++ and gfortran come from the same gcc releases, all frontends accept the same options. > > Quick an dirty fix : remove _all_ -mieee from main Makefile after configuration. I?ve tried it but didn?t work. >> So i tried to file a bug at https://www.systella.fr/bugzilla3/ and got this: >> >> --- >> Software error: >> >> syntax error at /usr/share/perl5/Bugzilla/CGI.pm line 175, near "cc longdesc)" >> (Might be a runaway multi-line () string starting on line 174) >> Global symbol "$self" requires explicit package name at /usr/share/perl5/Bugzilla/CGI.pm line 184. [?] >> Global symbol "$self" requires explicit package name at /usr/share/perl5/Bugzilla/CGI.pm line 210. >> syntax error at /usr/share/perl5/Bugzilla/CGI.pm line 212, near "}" >> /usr/share/perl5/Bugzilla/CGI.pm has too many errors. >> Compilation failed in require at /usr/share/bugzilla3/Bugzilla.pm line 42. >> BEGIN failed--compilation aborted at /usr/share/bugzilla3/Bugzilla.pm line 42. >> Compilation failed in require at /usr/share/bugzilla3/web/index.cgi line 34. >> BEGIN failed--compilation aborted at /usr/share/bugzilla3/web/index.cgi line 34. >> >> For help, please send mail to the webmaster (webmaster at localhost), giving this error message and the time and date of the error. >> --- > > Thanks for this observation. I know that both cvsweb and bugzilla are currently broken due to a obscur bug between apache and perl. I hope that I'll have time enough to fix it. > >> Please let me know if there is a quick fix. >> >> Shall I post this to the mailing list? > > Why not ? Maybe there are some other MacOS X users... > > Regards, > > JKB From joel.bertrand at systella.fr Tue Dec 10 09:31:14 2013 From: joel.bertrand at systella.fr (=?windows-1252?Q?BERTRAND_Jo=EBl?=) Date: Tue, 10 Dec 2013 09:31:14 +0100 Subject: [RPL/2] Fwd: compilation failure mac os x 10.9 In-Reply-To: References: <52A5DF11.40406@systella.fr> Message-ID: <52A6D152.4070700@systella.fr> ur2c at me.com a ?crit : >> From: BERTRAND Jo?l >> Subject: Re: compilation failure mac os x 10.9 >> Date: 2013-12-09=2 at 13:17'37 -0200 >> To: ur2c >> >> ur2c a ?crit : >>> Hello >> >> Hello, >> >>> I?m an old-time HP calc user who found your RPL/2 this morning. >>> >>> I downloaded rpl-4.1.16.tar.bz2 to a MacBook Air running under OS X 10.9; ran ./config and then make. The process stopped with this: >>> >>> --- >>> gcc -O3 -DHAVE_HIDDEN -o minigzip minigzip.o -L. libz.a >>> (cd ./lapack/lapack&& /Applications/Xcode.app/Contents/Developer/usr/bin/make ) >>> F77 liblapack_a-iparmq.o >>> f951: error: unrecognized command line option "-mieee" >>> make[2]: *** [liblapack_a-iparmq.o] Error 1 >>> make[1]: *** [lapack/lapack/liblapack.a] Error 2 >>> make: *** [all] Error 2 >>> ? >>> >>> Hoping that a daily version would have solved the problem, I downloaded rpl-4.1.17-daily-20131209.tar.bz2 to do the same. It stopped the same way. >> >> What is your compiler ? I've only tested with gcc-4.2/g++-4.2 and gfortran-4.2 on MacOS X. I don't have any MasOS X workstation anymore. > > $ gcc --version > Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1 > Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) > Target: x86_64-apple-darwin13.0.0 > Thread model: posix > > $ gfortran --version > GNU Fortran (GCC) 4.2.3 I haven't tried to build RPL/2 with a mix between LLVM and gfortran. >> This bug comes only if your gcc compiler accepts -mieee and if your gfortran doesn't. Normally, if gcc, g++ and gfortran come from the same gcc releases, all frontends accept the same options. >> >> Quick an dirty fix : remove _all_ -mieee from main Makefile after configuration. > > I?ve tried it but didn?t work. Maybe, but what is the error ? You can remove all -mieee from configure.ac, run autogen.sh and redo configuration also. Regards, JKB