The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



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 !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
gcc error..compiler cannot create executables vasanthan HP-UX 1 06-02-2008 12:20 PM
Error creating executables chetan2309 High Level Programming 6 08-07-2006 03:50 PM
executables ending with * binums High Level Programming 2 01-25-2006 11:39 PM
Tag Release no. to Executables vibhor_agarwali UNIX for Dummies Questions & Answers 4 02-28-2005 05:42 AM
cksum all executables on drive crazykelso UNIX for Dummies Questions & Answers 2 07-17-2002 11:52 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-23-2003
stufine stufine is offline
Registered User
  
 

Join Date: Jan 2002
Location: cincinnati
Posts: 27
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 12:36 PM..
  #2 (permalink)  
Old 01-23-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
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 (permalink)  
Old 01-23-2003
stufine stufine is offline
Registered User
  
 

Join Date: Jan 2002
Location: cincinnati
Posts: 27
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 (permalink)  
Old 01-23-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
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 (permalink)  
Old 01-23-2003
stufine stufine is offline
Registered User
  
 

Join Date: Jan 2002
Location: cincinnati
Posts: 27
AHHH!!!

Thanks RTM you saved me once again!!!!

I installed that file and everything works great so far!!!!

./configure worked!!
  #6 (permalink)  
Old 01-23-2003
stufine stufine is offline
Registered User
  
 

Join Date: Jan 2002
Location: cincinnati
Posts: 27
nm

Last edited by stufine; 01-23-2003 at 04:33 PM..
  #7 (permalink)  
Old 01-23-2003
stufine stufine is offline
Registered User
  
 

Join Date: Jan 2002
Location: cincinnati
Posts: 27
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'??
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:54 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0