But when I run "rpmbuild --rebuild hylafax-4.4.4-1rhel5.src.rpm" I get
this error:
> 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++)
How I can remove this error?
Which package I have yet to install ?
Many thanks for help.
--
Dario Lesca <d.lesca@solinos.it>
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
05-29-2008, 10:37 PM
Dario Lesca
f9: x86_64: Missing C++ runtime support for g++ (/usr/bin/g++).
Hi, I try to rebuild hylafax on F9/x86_64, I have installer this
package:
But when I run "rpmbuild --rebuild hylafax-4.4.4-1rhel5.src.rpm" I get
this error:
> 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++)
How I can remove this error?
Which package I have yet to install ?
Many thanks for help.
--
Dario Lesca <d.lesca@solinos.it>
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
05-29-2008, 10:49 PM
Jakub Jelinek
f9: x86_64: Missing C++ runtime support for g++ (/usr/bin/g++).
On Fri, May 30, 2008 at 12:37:18AM +0200, Dario Lesca wrote:
> > 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++)
>
> How I can remove this error?
The above is not valid C++98, you need to use
#include <iostream>
using namespace std;
int main() { cout << "Hello World!" << endl; return 0; }
g++34 provides backwards support for deprecated pre-ISO C++ headers,
g++ doesn't any longer.
See http://gcc.gnu.org/gcc-4.3/porting_to.html
"Removal of Pre-ISO headers" for more info.
Jakub
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
05-29-2008, 10:49 PM
Jakub Jelinek
f9: x86_64: Missing C++ runtime support for g++ (/usr/bin/g++).
On Fri, May 30, 2008 at 12:37:18AM +0200, Dario Lesca wrote:
> > 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++)
>
> How I can remove this error?
The above is not valid C++98, you need to use
#include <iostream>
using namespace std;
int main() { cout << "Hello World!" << endl; return 0; }
g++34 provides backwards support for deprecated pre-ISO C++ headers,
g++ doesn't any longer.
See http://gcc.gnu.org/gcc-4.3/porting_to.html
"Removal of Pre-ISO headers" for more info.
Jakub
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
05-29-2008, 11:02 PM
Dario Lesca
f9: x86_64: Missing C++ runtime support for g++ (/usr/bin/g++).
Il giorno gio, 29/05/2008 alle 18.49 -0400, Jakub Jelinek ha scritto:
> The above is not valid C++98, you need to use
> #include <iostream>
> using namespace std;
> int main() { cout << "Hello World!" << endl; return 0; }
>
> g++34 provides backwards support for deprecated pre-ISO C++ headers,
> g++ doesn't any longer.
> See http://gcc.gnu.org/gcc-4.3/porting_to.html
> "Removal of Pre-ISO headers" for more info.
Ok, thank Jakub, but now, how I can rebuild hylafax?
I must patch hylafax (but i'm not a 'C++' guru) or there are other
solution?
Thanks.
--
Dario Lesca <d.lesca@solinos.it>
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
05-29-2008, 11:36 PM
Dario Lesca
f9: x86_64: Missing C++ runtime support for g++ (/usr/bin/g++).
Il giorno gio, 29/05/2008 alle 18.49 -0400, Jakub Jelinek ha scritto:
> The above is not valid C++98, you need to use
> #include <iostream>
> using namespace std;
> int main() { cout << "Hello World!" << endl; return 0; }
>
> g++34 provides backwards support for deprecated pre-ISO C++ headers,
> g++ doesn't any longer.
> See http://gcc.gnu.org/gcc-4.3/porting_to.html
> "Removal of Pre-ISO headers" for more info.
Ok.
I have produce the follow patch to original hylafax-4.4.4-1.src.rpm
( ftp://ftp.hylafax.org/binary/linux/redhat/SRPMS/hylafax-4.4.4-1rhel5.src.rpm )
and rebuild the package without error.
DL> Hi, I try to rebuild hylafax on F9/x86_64, I have installer this
DL> package:
Well, probably easier to build the package under review, which fixed
many issues including the gcc 4.3 incompatibility.
https://bugzilla.redhat.com//show_bug.cgi?id=188542
Try the package from comment 83.
- J<
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list