[opensuse-buildservice] Problem with build for 11.0
Gents, may I ask for your advice...I have some troubles building packages for suse 11.0. the error test is: --- Reading site-wide parameters from ./config.site. Hmm, looks like a i686-pc-linux-gnu system. Using /usr/bin/gcc for a C compiler (set CC to override). Looks like /usr/bin/gcc supports the -g option. ... but not together with the -O option, not using it. Looks like /usr/bin/gcc has an ANSI C preprocessor. ... but __ANSI_CPP__ is not automatically defined, will compensate. Looks like /usr/bin/gcc supports the -M option for generating make dependencies. Using /usr/bin/g++ for a C++ compiler (set CXX to override). Looks like /usr/bin/g++ supports the -g option. Using " -g" for C++ compiler options. Looks like /usr/bin/g++ has an ANSI C preprocessor. ... but __ANSI_CPP__ is not automatically defined, will compensate. Using /usr/bin/make to configure the software. Using "include file" syntax for Makefiles. Looks like make supports "sinclude" for conditional includes. Using /bin/bash to process command scripts. Missing C++ runtime support for g++ (/usr/bin/g++). Compilation of the following test program failed: ---------------------------------------------------------- #include "iostream.h" int main(){ cout << "Hello World!" << endl; return 0;} ---------------------------------------------------------- Usually this is because you do not have a standard C++ library installed on your system or you have installed it in a non-standard location. If you do not have a C++ library installed, then you must install it. If it is installed in a non-standard location, then you should configure the compiler so that it will automatically be found. (For recent gcc releases this is libstdc++, for older gcc - libg++) --- In the .spec for the project this libstdc++ is included: BuildRequires: libjpeg-devel, libtiff-devel, zlib-devel, gcc, gcc-c++, libstdc++ ...and another project runs fine with these settings. What is the problem in 11.0? Thx Axel -- Dr.-Ing. Axel K. Braun M: +49.(0)173.7003.154 VoIP/Skype: axxite PGP Fingerprint: CB03 964D 1CFA E87B AA63 53F3 1BD6 F53A EB48 EF22 Public Key available at http://www.axxite.com/axel.braun@gmx.de.asc This mail was *not scanned* before sending. It was sended from a virus-free Linux desktop. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Dr. Axel Braun escribió:
BuildRequires: libjpeg-devel, libtiff-devel, zlib-devel, gcc, gcc-c++, libstdc++
you dont have to buildrequire libstdc++ nor gcc if you already have gcc-c++ .
...and another project runs fine with these settings. What is the problem in 11.0?
what is the exact faliure ? inspecting config.log may provide valuable information. -- "A computer is like an Old Testament god, with a lot of rules and no mercy. " Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
On Friday 11 July 2008 08:39:00 Dr. Axel Braun wrote: ...
In the .spec for the project this libstdc++ is included:
BuildRequires: libjpeg-devel, libtiff-devel, zlib-devel, gcc, gcc-c++, libstdc++
libstdc++-devel is missing ? acctually, you do not not need gcc, gcc-c++ and libstdc++ in BuildRequires, if you require that. bye adrian -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, Am Freitag, 11. Juli 2008 schrieb Adrian Schröter:
In the .spec for the project this libstdc++ is included:
BuildRequires: libjpeg-devel, libtiff-devel, zlib-devel, gcc, gcc-c++, libstdc++
libstdc++-devel is missing ?
acctually, you do not not need gcc, gcc-c++ and libstdc++ in BuildRequires, if you require that.
I put the devel package in, but the error remains the same. I attach the build log.... Thanks Axel -- Dr.-Ing. Axel K. Braun M: +49.(0)173.7003.154 VoIP/Skype: axxite PGP Fingerprint: CB03 964D 1CFA E87B AA63 53F3 1BD6 F53A EB48 EF22 Public Key available at http://www.axxite.com/axel.braun@gmx.de.asc This mail was *not scanned* before sending. It was sended from a virus-free Linux desktop.
Dr. Axel Braun escribió:
I put the devel package in, but the error remains the same. I attach the build log....
well. the "test code": #include "iostream.h" int main(){ cout << "Hello World!" << endl; return 0;} is wrong. :P iostream.h is a deprecated header, that no longer exists {1}, it previosuly lived on /usr/include/c++/4.2.1/backward/iostream.h and when you compile the test code, it clearly warns you about it's deprecated status.. replace the test code for #include <iostream> using namespace std; int main(void) { cout << "Hello World!" << endl; return 0; } and try again. {1} http://www.gnu.org/software/gcc/gcc-4.3/porting_to.html -- "A computer is like an Old Testament god, with a lot of rules and no mercy. " Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
Am Samstag, 12. Juli 2008 schrieb Cristian Rodríguez: [...]
iostream.h is a deprecated header, that no longer exists {1}, it previosuly lived on /usr/include/c++/4.2.1/backward/iostream.h and when you compile the test code, it clearly warns you about it's deprecated status..
[...] That fixed it, thanks Ax -- Dr.-Ing. Axel K. Braun M: +49.(0)173.7003.154 VoIP/Skype: axxite PGP Fingerprint: CB03 964D 1CFA E87B AA63 53F3 1BD6 F53A EB48 EF22 Public Key available at http://www.axxite.com/axel.braun@gmx.de.asc This mail was *not scanned* before sending. It was sended from a virus-free Linux desktop. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Cristian Rodríguez ha scritto:
Dr. Axel Braun escribió:
I put the devel package in, but the error remains the same. I attach the build log....
well. the "test code":
#include "iostream.h" int main(){ cout << "Hello World!" << endl; return 0;}
is wrong. :P
iostream.h is a deprecated header, that no longer exists {1}, it previosuly lived on /usr/include/c++/4.2.1/backward/iostream.h and when you compile the test code, it clearly warns you about it's deprecated status..
replace the test code for #include <iostream>
Ok... well... I understand because the ACE package doesn't compile on opensuse 11.0 ... but the problem remains because I'm not the developer and I cannot change the code :-( :-( There is a way to compile anyway re-activating the deprecated method ??? Thank you, Gianluca --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
* G. Massera (gmassera@istc.cnr.it) [20080714 10:35]:
Ok... well... I understand because the ACE package doesn't compile on opensuse 11.0 ...
URL? Philipp
but the problem remains because I'm not the developer and I cannot change the code :-( :-(
You have to, otherwise it won't compile.
There is a way to compile anyway re-activating the deprecated method ???
You might try -Wno-deprecated. Philipp --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
G. Massera escribió:
Ok... well... I understand because the ACE package doesn't compile on opensuse 11.0 ... but the problem remains because I'm not the developer and I cannot change the code :-( :-(
please mention in what project that package resides, so we can take a uick look into it.
There is a way to compile anyway re-activating the deprecated method ???
in this case, afaik, no, the header is simple not there anymore. -- "A computer is like an Old Testament god, with a lot of rules and no mercy. " Cristian Rodríguez R. Platform/OpenSUSE - Core Services SUSE LINUX Products GmbH Research & Development http://www.opensuse.org/
Cristian Rodríguez ha scritto:
G. Massera escribió:
Ok... well... I understand because the ACE package doesn't compile on opensuse 11.0 ... but the problem remains because I'm not the developer and I cannot change the code :-( :-(
please mention in what project that package resides, so we can take a uick look into it.
There is a way to compile anyway re-activating the deprecated method ???
in this case, afaik, no, the header is simple not there anymore.
Thank you for help... I resolved !!! On the website of ACE there is a new version fixed for compiling with gcc 4.3. I didn't notice before... because the website of ACE is not so well organized, the download link is always named ACE without specifiing the version number :-( Thank you, Gianluca --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (5)
-
Adrian Schröter
-
Cristian Rodríguez
-
Dr. Axel Braun
-
G. Massera
-
Philipp Thomas