Compiling UNIX software packages Question


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Compiling UNIX software packages Question
# 1  
Old 05-24-2009
Compiling UNIX software packages Question

I am trying to learn how compile programs using this lesson.

UNIX Tutorial Seven

I am stuck at 7.4 Configuring and creating the Makefile. It stats that I need to configure the utility with my home directory. After doing the echo $HOME command I get /home/Bill_Gates. It then says to insert your home direcotry into this line

./configure --prefix=$HOME/units174

According to this lesson I would get the following line

./configure --prefix=$/home/Bill_Gates/units174

But I always get "configure: error: no acceptable cc found in $PATH"

If someone could help I would greatly appreciate it. Thank you.
# 2  
Old 05-24-2009
The error means that you have not got an acceptable C compiler in your path.

What compiler have you got?
# 3  
Old 05-24-2009
I have no idea. I am using windows vista with cygwin. How would I find out?
# 4  
Old 05-24-2009
Quote:
Originally Posted by jae99
I have no idea. I am using windows vista with cygwin. How would I find out?
You can go to the Cygwin web site and see what C compilers they support, if any.

Please post back with your answer.
# 5  
Old 05-24-2009
You can install MinGW for gcc.
# 6  
Old 05-24-2009
Ok I think I found a solution to my problem. There is a nice tutorial here

Cygwin - Part Two - Installing GCC

I ran the test program and it seemed to work.

A quick follow up, the complier from (http://www2.warwick.ac.uk/fac/sci/moac/currentstudents/peter_cock/cygwin/part2/) appears to work. But the program from the basic tutorial (http://www.ee.surrey.ac.uk/Teaching/Unix/unix7.html) when compiled gave me an error. I assuming its thats b/c cygwin compadability issue. If anyone could get it to work please post. THank you.

A quick follow up, the complier from (http://www2.warwick.ac.uk/fac/sci/moac/currentstudents/peter_cock/cygwin/part2/) appears to work. But the program from the basic tutorial (http://www.ee.surrey.ac.uk/Teaching/Unix/unix7.html) when compiled gave me an error. I assuming its thats b/c cygwin compadability issue. If anyone could get it to work please post. THank you.
# 7  
Old 05-25-2009
gave what error?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX Benchmarks

error compiling bm software under Solaris 10

anyone tried it , under Solaris 10 using make (part of SUNWsprot) and gcc 4.6 compiler.. got an error complaining about the Makefile script syntax... I don't think that's compatible at all... (2 Replies)
Discussion started by: ppchu99
2 Replies

2. UNIX for Dummies Questions & Answers

Updating software packages

Hi, I noticed that my programs are not up-to-date, when I go to the official web site of eg. transmission bittorent client I see the newest version is 2.4 and when I check my version , it's 2.0. What do I need to do to update it? I thought it's gonna be updated automatically but nothing. I ran... (2 Replies)
Discussion started by: zdorian
2 Replies

3. Solaris

best way to identify non packages software

what is the best way to identify non-packaged software installed on solaris systems? also after identifying the software is there a way to add some sort of package entry that will display the software even though it is not a package? (3 Replies)
Discussion started by: BronzeBack
3 Replies

4. UNIX for Dummies Questions & Answers

Question about excutable software in Unix

I am using SCO OpenServer 5.0 now, and have the old software as database (similar with MySQL) to store all data. I want to know that how can I read those data in the file. For example, I have file named OE.USECD, which is data file when I use the software to store my data to database. it's not... (5 Replies)
Discussion started by: wendyz
5 Replies

5. Solaris

how to find the software packages and root directories

Hi all, i have one requirement to audit the software packages list in unix server. For this the i go through #pkginfo command.But there are lot of packages. i get confused how to find the software packages and root directories paths. Please let me know whether i am going correct way... (1 Reply)
Discussion started by: krishna176
1 Replies

6. Programming

Question about compiling (noob)

I'm just getting started to lean C and I'm using Ubuntu today I found a tutorial at this site: http://einstein.drexel.edu/courses/CompPhys/General/C_basics/c_tutorial.html and I got an error after compiling the fist code: #include < stdio.h> void main() { printf("\nHello World\n"); } ... (9 Replies)
Discussion started by: arya6000
9 Replies

7. UNIX for Dummies Questions & Answers

Question? unix software

whats the difference between unix & linux? code? can anyone recommend a company that release unix software that operates with windows 98 & XP for rookies? please list a link... thanks for your time (1 Reply)
Discussion started by: Matthews
1 Replies

8. Solaris

question about JAVA compiling ..

Hi , I don't know if this is the right place to post my question because it relates to JAVA . I am beginner of JAVA , using a tutorial as reference I am trying to run a simple program in JAVA env. I have installed JDSK kit from java.sun.com but when I tried to run a program from the DOS prompt , I... (7 Replies)
Discussion started by: ANAMIKA56
7 Replies

9. UNIX for Advanced & Expert Users

Compiling Software

I have a problem, my mate built me a little home server using Unix and after he set everything up he deleted the main compiler so i wouldnt be able to Install/Compile any software... And now i wanted to Install a compiler and i have to compile it... thats like installing winzip from a zip... (3 Replies)
Discussion started by: l22
3 Replies

10. UNIX for Dummies Questions & Answers

compiling software

I am new to unix so please forgive ignorance. I am running openbsd-2.9 and need some help. All the software I run was added via the package system openbsd has. There have been times when I need an app. But it was not in the openbsd ports and or packages system. I usually just wait for it to show up... (3 Replies)
Discussion started by: Blunt_Killer
3 Replies
Login or Register to Ask a Question