y500 / libtorrent

Automatically exported from code.google.com/p/libtorrent
0 stars 0 forks source link

libtorrent 1.0.3 - Build issue on RHEL/CentOS 6.6 x86_64 #719

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. download and expand libtorrent-rasterbar-1.0.3.tar.gz
2. "./configure" results always to missing boost libraries

What is the expected output? What do you see instead?
   Successful configure and make

What version of the product are you using? On what operating system?
  CentOS 6.6 x86_64 (2.6.32-504.3.3.el6.x86_64)
  gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)
  boost 1.41.0.25.el6.centos
  libtorrent-rasterbar-1.0.3 

Please provide any additional information below.
   I found in configure script this issue:
- this line resulting to gcc error:
   CXXFLAGS="$CXXFLAGS -ftemplate-depth=120"

- error:
   cc1plus: error: unrecognized command line option "-fftemplate-depth=120"

- configure is successful after change to this:
   CXXFLAGS="$CXXFLAGS -ftemplate-depth-120"

Thanks

Original issue reported on code.google.com by martin.k...@gmail.com on 28 Jan 2015 at 3:02

GoogleCodeExporter commented 8 years ago
interesting. This page suggests that it's supposed to be an equal sign there:

https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Options.html

Do you think using a dash would work universally? across other versions of GCC?

Original comment by arvid.no...@gmail.com on 29 Jan 2015 at 2:12

GoogleCodeExporter commented 8 years ago
Hi
I found this release changes Docu:
https://gcc.gnu.org/gcc-4.5/changes.html

Tested on these systems:
Fedora 21 (3.17.8-300.fc21.x86_64)
gcc (GCC) 4.9.2 20141101 (Red Hat 4.9.2-1)
-ftemplate-depth=n

RHEL/CentOS 5 (2.6.18-398.el5)
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-55)
-ftemplate-depth-n

RHEL/CentOS 6 (2.6.32-504.3.3.el6.x86_64)
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)
-ftemplate-depth-n

RHEL/CentOS 7 (3.10.0-123.el7.x86_64)
gcc (GCC) 4.8.2 20140120 (Red Hat 4.8.2-16)
-ftemplate-depth=n

Martin

Original comment by martin.k...@gmail.com on 29 Jan 2015 at 8:41