![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| gcc error..compiler cannot create executables | vasanthan | HP-UX | 1 | 06-02-2008 08:20 AM |
| Error creating executables | chetan2309 | High Level Programming | 6 | 08-07-2006 11:50 AM |
| executables ending with * | binums | High Level Programming | 2 | 01-25-2006 08:39 PM |
| Tag Release no. to Executables | vibhor_agarwali | UNIX for Dummies Questions & Answers | 4 | 02-28-2005 02:42 AM |
| cksum all executables on drive | crazykelso | UNIX for Dummies Questions & Answers | 2 | 07-17-2002 07:52 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
cannot create executables
I am trying to install PROFTPD-1.2.7 on a SCO OpenServer 5.0.6 Server with a gcc-2.95.2 installed the VOLS files from http://www.caldera.com/skunkware.
The problem I am having is when I try to run ./configure in the proftpd directory I get this error: # ./configure checking build system type... i686-pc-sco3.2v5.0.6 checking host system type... i686-pc-sco3.2v5.0.6 checking target system type... i686-pc-sco3.2v5.0.6 checking for gcc... gcc checking for C compiler default output... configure: error: C compiler cannot create executables. So I then searched here for the message here seeing if anyone has had this problem before and posted it. This is the best one I found but I don't quite understand what I am supposed to do. configure errors I then went to http://gcc.gnu.org/ to download the source for gcc. I could not find anything that said anything about it being the source code. So I downloaded gcc-3.2.1.tar.gz and I could not install the program because my gcc compiler does not work. When I go to configure the new gcc I get this: # ./configure Configuring for a i686-pc-sco3.2v5.0.6 host. *** This configuration is not supported in the following subdirectories: target-libffi target-boehm-gc target-zlib target-libjava (Any other directories should still work fine.) Created "Makefile" in /usr/scott/gcc-3.2.1 using "mh-frag" cc: installation problem, cannot exec `as': No such file or directory *** The command '/usr/bin/cc -o conftest -g conftest.c' failed. *** You must set the environment variable CC to a working compiler. What else can I try to fix this? What is going wrong with my Gcc compiler? When I type in gcc I get this # gcc gcc: No input files So it seems to be installed and working sort of. Thanks in advance!! Last edited by stufine; 01-23-2003 at 09:36 AM. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Try this suggestion - it seems to be the one that is listed the most as a fix ( adding the development libraries) - Sco - gcc
(seems to be done in all versions of OS) - faqchest.com |
|
#3
|
|||
|
|||
|
I tried what the links said to do so I downloaded binutils and went to install it. I ran ./configure and it get this message
#./configure loading cache ./config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking host system type... i686-pc-sco3.2v5.0.6 checking target system type... i686-pc-sco3.2v5.0.6 checking build system type... i686-pc-sco3.2v5.0.6 checking for strerror in -lcposix... no checking for a BSD compatible install... ./../install-sh -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking for gcc... gcc checking whether the C compiler (gcc ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. So I figured I will try installing the rpm software so I installed the RPM software and got this message # rpm -ivh bin*.rpm failed to open //var/local/lib/rpm/packages.rpm error: cannot open /var/local/lib/rpm//packages.rpm # rpm --version RPM version 2.4.5 |
|
#4
|
||||
|
||||
|
The second link was to show that this problem occurs in other OSs. SCO does not use RPM.
The suggestion from pcunix.com may help. |
|
#5
|
|||
|
|||
|
AHHH!!!
Thanks RTM you saved me once again!!!! I installed that file and everything works great so far!!!! ./configure worked!! |
|
#6
|
|||
|
|||
|
nm
Last edited by stufine; 01-23-2003 at 01:33 PM. |
|
#7
|
|||
|
|||
|
Ok when I run make I run into this problem
ar[2]: Entering directory `/usr/scott/m4-1.4/lib' ar[2]: *** No rule to make target `cru'. Stop. ar[2]: Leaving directory `/usr/scott/m4-1.4/lib' make[1]: *** [libm4.a] Error 2 make[1]: Leaving directory `/usr/scott/m4-1.4/lib make: *** [all] Error 1 What is this 'cru'?? |
|||
| Google The UNIX and Linux Forums |