cannot create executables


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers cannot create executables
# 1  
Old 01-23-2003
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.

https://www.unix.com/showthread.php?s...te+executables

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  
Old 01-23-2003
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  
Old 01-23-2003
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  
Old 01-23-2003
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  
Old 01-23-2003
AHHH!!!

Thanks RTM you saved me once again!!!!

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

./configure worked!!
# 6  
Old 01-23-2003
nm

Last edited by stufine; 01-23-2003 at 04:33 PM..
# 7  
Old 01-23-2003
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'??
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

Gcc cannot create executables

https://www.unix.com/302461112-post1.html Thank you. It's still in Linux Mint 17 (3 Replies)
Discussion started by: jgt
3 Replies

2. Shell Programming and Scripting

Scripting with executables

Hi everyone, I am working with an executable (let's say work) in bash shell. When I run this work executable it asks the following information; 1- choose task a or b 2- input file 3- output file 4- some operational choices after it reads the given input file, does some algebraic... (17 Replies)
Discussion started by: hayreter
17 Replies

3. Shell Programming and Scripting

Makefile with multiple executables

CROSS_COMPILE?= LIBDIR_APP_LOADER?=../../../../app_loader/lib INCDIR_APP_LOADER?=../../../../app_loader/include BINDIR?=../../bin CFLAGS+= -Wall -I$(INCDIR_APP_LOADER) -D__DEBUG -O2 -mtune=cortex-a8 -march=armv7-a -std=gnu99 LDFLAGS+=-L$(LIBDIR_APP_LOADER) -lprussdrv -lpthread OBJDIR=obj... (1 Reply)
Discussion started by: bpetersen
1 Replies

4. Shell Programming and Scripting

Searching for executables

Hello Unix users, this is my first post here. :) I want to search a directory (and subdirectories) for executable files (files with rwx------ permission) and move them to a different folder. What Unix commands can accomplish this? (2 Replies)
Discussion started by: Sagan_Radiation
2 Replies

5. Linux

Fortran Compiler cannot create executables

Hello everyone, I am trying to re-install quantum espresso-4.3 on the University's LINUX interface (because of a recent crash and I lost most of my files). when I " ./configure ", It is giving an error stating that : checking building system type... x86_64-unknown-linux-gnu checking... (7 Replies)
Discussion started by: Physicslad78
7 Replies

6. Solaris

C compiler cannot create executables

Hi, I'm trying to compile Apache2.2 (I know it is available as a package) on a fresh install of Solaris Express 11. I've installed gcc-3 and gnu-bintutils via pkg. The config.log is attached (as config.txt). I don't see what I'm missing. Thanks, Doug (1 Reply)
Discussion started by: Doug_M
1 Replies

7. Programming

Compare two executables

Hi - I have two complex (for me at least) make files. The older one creates a succesful executable. The later one uses if statements to conditionally make different versions of the executable. The 2nd produces an executable that fails. I have "eyeballed" the differences in the Make files and run... (18 Replies)
Discussion started by: BrighterLater
18 Replies

8. HP-UX

gcc error..compiler cannot create executables

Hi I have locally compiled and installed gcc-4.1.2 in directory /usr/local/pkg/gcc/4.1.2/bin/gcc I want to compile beecrypt using this new compiler , So i have done setenv CC usr/local/pkg/gcc/4.1.2/bin/gcc ( Note this configuration is running properly with older version of... (1 Reply)
Discussion started by: vasanthan
1 Replies

9. UNIX for Dummies Questions & Answers

Regarding shell scripts to executables

Hi, I have written a shell script for automating some of our repetitive activities. I want all my colleagues to use my script and do the activities automatically by just running the script. But I do not want them to see the code. Is there a way we can generate something like an executable... (16 Replies)
Discussion started by: lokachari
16 Replies

10. Programming

executables ending with *

Hi All, I m very new to unix. I have a basic doubt .. In unix I m seeing that there is a * at the end of by executable name (exe1*).. Wht is the significance of that Thanks a lot in advance (2 Replies)
Discussion started by: binums
2 Replies
Login or Register to Ask a Question