GNU Compiler Collection

learn more… | top users | synonyms

-1
votes
0answers
42 views

Installing specific versions of clang and gcc on Scientific Linux 6.4

My users have told me they need specific versions of GCC, 4.8.3, and Clang, 3.5.0. At first, I thought I could get around building GCC from source by installing devtoolset-2 from the SL ...
-1
votes
1answer
82 views

Build gcc 4.1.2 from src RPM on a CentOS 5.10 [closed]

I need an advice on how to compile gcc 4.1.2 on a CentOS 5.10. The long story: I've a got a Citrix XenServer Creedence beta 1 up and running OK. It has actually CentOS 5.10 as the dom0. This can be ...
2
votes
1answer
165 views

missing shared library in ldd

I compiled Apache httpd on CentOS 6.x. Works fine there. Then I moved the binary files to CentOS 7. I needed to install some missing libraries and now works fine there. Then I moved the binary files ...
33
votes
6answers
3k views

Is it safe for a production server to have make installed?

During the setup of my virtual server instances I require some applications to be built using make. Are there any security risks associated with having make installed? Or should I clean it up before ...
0
votes
0answers
162 views

XCOFF32 object files are not allowed in 64-bit mode while installing Crypt-SSLeay-0.65_02

I am installing a Perl package Crypt-SSLeay-0.65_02 in an AIX 6.1 system but while performing perl Makefile.PL getting the following error. The test suite can attempt to connect to public servers to ...
0
votes
0answers
18 views

Unable to update old kolab server/openpkg

as of recently we had a running and working kolab server. Then someone found a nice bug in openssl, so of course, we had to update the Kolab instance. I tried to execute the command but it was ...
1
vote
0answers
57 views

How do I compile ImageMagick with support for a patched version of Autotrace?

yum is not an option here I have downloaded, patched, configured, compiled, and installed autotrace. Files on the system with the autotrace name are: /usr/local/include/autotrace/autotrace.h ...
1
vote
1answer
7k views

configure: error: C compiler cannot create executables while build ruby from source [closed]

I've checked a number of similar questions on stackoverflow but haven't found an answer yet. I am trying to build Ruby from source as describe here: ...
0
votes
1answer
422 views

Issue installing gcc & curl-devel on Centos OS 5.6

I'm trying to install gcc and curl-devel on CentOS 5.6 (64 bit) server. The command I'm using is: yum install gcc \ curl-devel After running the command it says: No package gcc available. ...
0
votes
0answers
18 views

Linux library cross compatibility

I'm using a SDK that includes some library files (.so) without the source to build them. They also provide example applications. They provide both the examples and the libraries compiled for various ...
0
votes
2answers
353 views

Compiling libmemcached Fails on Centos

I am trying to compile libmemcached on Centos 6.4 with gcc 4.8.2. I've run configure which gives me: Configuration summary for libmemcached version 1.0.17 * Installation prefix: /usr/local ...
1
vote
0answers
102 views

Compile a system library independent proftpd on AIX

I'd like to build a deployable archive that contains all system and specific library necessary to run the proftpd deamon on AIX. I already manage to compile it, but the executable rely on /lib and ...
2
votes
1answer
28 views

Squeeze/Lenny compilation : Library Link error [closed]

I've got a problem here : I have a C++ Library ("DataTsBroad") and a C++ Test app ("DataTsBroadTest"), to test it. Actually, the Lib and the Test app are both compiled an a Debian Lenny. Now, i ...
1
vote
4answers
953 views

GCC missing from Solaris 11, and server already deployed (no access to internet)

I'm having a peculiar problem, where a server has already been deployed, and it's no longer connected to the network. For it's original purpose, it didn't need any C/C++ compiling tools, and thus ...
0
votes
1answer
2k views

Unable to execute gcc: No such file or directory

I am running Ubuntu LTS and I'm getting errors when trying to do some of my pip install stuff, like scrapy for example. This is the error I get: Unable to execute gcc: No such file or directory ...
4
votes
2answers
401 views

Trouble compiling modern GCC with antique glibc

I am trying to get a modern GCC to compile on Centos 6.4. The problem is that Centos does not have a modern glibc and GCC 4.8.x and 4.7.x keep giving me the following compile error: ... -DL_gcov -c ...
0
votes
1answer
232 views

Compiling Apache 2.2.11 on AIX 6.1, .so files not genereated

I am compiling Apache 2 (2.2.11 yeh, Its old...but its a requirement) on AIX 6.1 with GCC 4.2.0. I am using the configure options: ./configure \ --enable-module=rewrite\ --enable-module=log_referer\ ...
1
vote
1answer
163 views

Error compiling GhostPDL for PASE (AIX) on OS/400 V5R4

I'm trying to compile ghostpdl 9.07 on V5R4 in QP2TERM (the AIX-like PASE environment). After downloading and untarring the package to /QOpenSys, I ran: CALL QP2TERM and then in QP2TERM: ...
0
votes
1answer
273 views

gcc sandboxing tool - AppArmor / CHROOT jail on Ubuntu 12.04

We have a Node application as the front end to a C++ sandboxing tool, which compiles code using gcc and outputs the result to the browser. e.g. exec("gcc -o /tmp/test /tmp/test.cpp", function ...
1
vote
0answers
454 views

gcc46 and no c compiler found on Amazon EC2

I've been trying to install Gearman on my EC2 instance, but when I try to ./configure gearmand, I get this: checking build system type... x86_64-unknown-linux-gnu checking host system type... ...
1
vote
1answer
504 views

Compiling passenger-install-nginx-module; “C compiler gcc is not found”

I am in the middle of a process of installing Redmine served with passenger and nginx with this tutorial. With the passenger-install-nginx-module, it works fine and during compiling it outputs an ...
0
votes
1answer
260 views

Dependency loop while trying to install gcc on Fedora 17

I'm trying to yum install gcc but getting this message. Error: Package: glibc-common-2.15-37.fc17.i686 (@anaconda-0) Requires: glibc = 2.15-37.fc17 Removing: glibc-2.15-37.fc17.i686 ...
2
votes
1answer
354 views

Error while compiling PHP extension

Im trying to install a php extension that is written in c and make use of mongodb c driver. I have been trying for the last 2 days to compile and install the extension however im getting the same ...
-3
votes
1answer
147 views

No rule to make target libmysql.c', needed bylibmysql.lo'. Stop

I install mysql5.1.53, run #./configure is well, but run #make have this error. My system is centos5.8, gcc version 4.1.2 20080704 (Red Hat 4.1.2-52) make[2]: Leaving directory ...
2
votes
2answers
2k views

My yum repository able to search packages, but not able to install it in RHEL?

I set up yum from dvd. Following is the containts of my .repo file: [dvd] name=Red Hat Enterprise Linux Installation DVD baseurl=file:///media/dvd enabled=0. I'm able to search packages. However ...
1
vote
0answers
99 views

Why can't rsyslogd find libgcc_s.so.1?

Scenario: Running a debootstrapped Ubuntu 11.4 lxc guest on a Ubuntu 12.4 lxc host. Inside the lxc guest, rsyslogd is constantly crashing with SIGABRT stating: libgcc_s.so.1 must be installed for ...
1
vote
1answer
128 views

vfw.h no longer present on RHEL 4.8? [closed]

I maintain an application which relies on vfw. Unfortunately, I am not able to remove this deprecated video encoding mechanism at this time. My application compiles fine on Windows, but on RHEL 4.8 it ...
0
votes
1answer
864 views

'gcc' failed with exit status 1 - MySQL-python-1.2.3

I am installing MySQL db for python2.6. I installed it from here but when I am on the line I extracted the file and when I did python2.6 setup.py build it gives a lot of errors and warring and ...
3
votes
1answer
4k views

How to install the latest g++ version on CentOS

I tried yum install gcc-c++, however, the repos have an old version (4.1) which causes lots of problems and stops me from building a library. I would like to update it to latest. How can I do that?
1
vote
0answers
147 views

2 diferent versions of gcc in RHEL

I need to test a matlab EDA-LINK with Cadence Incisive. For this , one of the libraries complains of an error: version `GCC_3.3' not found (required ...
1
vote
3answers
2k views

Using gcc instead of SUNWspro cc in ruby mkmf for yajl on Solaris 10

How do I get mkmf to use gcc instead of /opt/SUNWspro/bin/cc on Solaris 10? I am trying to install chef using gem install chef. It is failing with: Building native extensions. This could take a ...
1
vote
1answer
159 views

Is running my Unreal Tournament server like this slower than it has to be?

Unreal Tournament 2004 is an old game, and it does not run on a new server. I was said to run the server like this. LD_LIBRARY_PATH=$HOME/archive/gcc3 ./ucc-bin server ...
1
vote
1answer
789 views

Dependency Hell trying to install GCC on CentOS4

I have a production CentOS 4.4 box running Virtuozzo VPSes, and I'm trying to install GCC inside one of them so I can install the latest PHP from source. I downloaded gcc and its dependencies from a ...
1
vote
3answers
5k views

`cannot find “-lgcc_s”` from gcc-3.4 on unbuntu 11.04

I'm trying to use gcc-3.4 on the latest Ubuntu. The package is from debian snapshots. It probably assumes different default directory structure, so for example I was forced to give it -I ...
0
votes
1answer
533 views

Reinstalling a package on Solaris 11

I installed gcc 4 on Solaris 11 using pkg-get gcc4g++ near the end of the installation process it showed a warning that some script didn't run succesfully (which I didn't write down unfortunately). ...
1
vote
3answers
884 views

Phusion Passenger Installation Not Working

I've been trying without success to install the Nginx version of Phusion Passenger (mod_rails) on my server by using the command gem install passenger followed by passenger-install-nginx-module. ...
1
vote
2answers
1k views

SUSE EC2 Problem - zypper - Permission denied

I'm trying to use zypper to install gcc on my Amazon EC2 instance running SUSE.When I try:zypper in gcc I get: Retrieving repository 'SLE11-SDK-SP1' metadata [] Permission to access ...
0
votes
1answer
139 views

emerge only prints it's parameters along with “Wrong gcc version” message

Our gentoo server has been left in inconsistent state. I don't know what have been done wrong previously, but now I need to fix the system somehow. I've tried to do revdep-rebuild, but it has failed: ...
0
votes
1answer
3k views

How to change library default dir for gcc or add another path?

Related topic is here Tried to link some files to /lib like this [/opt/lib] # ln -s libncurses.so.5.7 /lib/ [/opt/lib] # ln -s libncursesw.so.5.7 /lib/ Compiler still can't find any ncurses ...
0
votes
1answer
131 views

ruby-1.8.6-p144 on Ubuntu 10.04 [RVM]

wopi@wopi-desktop:~/.rvm/src$ cat /etc/issue Ubuntu 10.04.2 LTS rvm install ruby-1.8.6-p114 gives me errors: https://gist.github.com/814261 How I can install it ?
0
votes
1answer
609 views

Upgrading the old stock GCC in CentOS 5.5 to a current (stable) version

What would be the optimal way to do that? Are there any precompiled RPMs available somewhere? I read this question here, but the answer was not really satisfactory. The cause for wanting to upgrade: ...
2
votes
1answer
56 views

Bash build environment settings

I'm newbie in Bash and I'm using MinGW as a GCC compiler. I have .profile in my home directory which sets building environment. Here is .profile content. What's a difference in commented/uncommented ...
1
vote
1answer
1k views

What's the preferred way of upgrading CentOS 5.5 to use the latest stable release of gcc?

Seems that gcc on CentOS 5.5 is a few versions behind the latest, which has some optimizations that I would seriously welcome. What is the best practice for installing and upgrading gcc?
3
votes
1answer
319 views

Need to install libstdc++-5 on ubuntu 9.10

I'm running ubuntu 9.10 which has gcc4 (libstdc++6) installed, and I need to install a program that requires libstdc++5 that comes with gcc3. I don't see gcc-3 listed when I run "apt-cache search" so: ...
4
votes
1answer
2k views

Where does gcc keep its built-in include directory paths

GCC has built in include directories for certain standard headers. I just need to know where this list is. My newly compiled gcc will not compile my little test C++ program because it cannot find ...
1
vote
3answers
1k views

Installing gcc on AIX 5.3

we have a development AIX 5.3 on PowerPC CPU having the standard CC compiler. I downloaded the gcc 4.2.4, unpacked it and tried to install it seems there is something missing; untar takes around 15 ...
4
votes
2answers
663 views

Remote server security: handling compiler tools

I was wondering wether to remove compiler tools (gcc, make, ...) from a remote production server, mainly for security purposes. Background: The server runs a web application on Linux. Consider Apache ...
1
vote
2answers
106 views

Latest stable of gcc

I need to install the latest stable release of gcc. I'm looking at all the gcc releases here. I'm assuming these are all stable releases?
1
vote
4answers
2k views

GCC compile result from Bash script

hi i'am not really fluent in bash shell script, i'am doing some compilation using gcc that executed by bash script, how do I know (check) if the compilation was successful or not? any example?
1
vote
2answers
188 views

Should I install GCC 64 bit on a new server?

I am going to rebuild my server and I am wondering whether I should install GCC 32 or 64 bit. I develop in Python and I use some libraries that would benefit from a 64 bit GCC installation but I am ...