Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - Programming & Scripting
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Programming & Scripting A place to discuss website design, programming, shell scripts, etc

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 22-Dec-2007, 09:59
jordan28
Guest
 
Posts: n/a
Default

I downloaded NASM pdf documentaion with this link:
http://downloads.sourceforge.net/nasm/nasm...mp;big_mirror=0

I opened nasmdoc.pdf with Evince and found Installing NASM under Unix in section 1.4.2.

The instructions said I needed NASM source. I downloaded and decompressed it to:

/usr/local/src

I then moved to /usr/local/src and typed:

./configure

Everything was straigtforward until this point, at which I recieved this output:

checking for prefix by checking for nasm... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

What is my next step for getting NASM up and running? I'm new, please don't assume I know anything. I'm very, very new to Linux. I"m not used to spending hours installing programs, since I've only used Windows or Mac.
  #2 (permalink)  
Old 22-Dec-2007, 11:01
pturner7
Guest
 
Posts: n/a
Default

Seems like you don't have the gcc compiler installed - this is not always installed by default.

To install this go into YaST > Software Management and search for gcc. Tick the box when found and accept to install.

In fact, if you add the openSUSE main repository, you should be able to install NASM with YaST as well - far easier than compiling and installing yourself.

Or, go to here and type nasm in the search box for a '1-click install'.
  #3 (permalink)  
Old 22-Dec-2007, 13:53
jordan28
Guest
 
Posts: n/a
Default

I went to YaST > Software Management. I waited for it for a minute. Then a dialog pops up and says:

"No installation source is defined, only installed packages will be displayed." I hit OK.

I type gcc in the search field. Three packages show up with their boxes checked:

1. cpp
2. libgcc
3. libgcj

I press the accept button. Installation finishes and I press done.

At this point, I assume gcc is installed. I try to ./configure again, same message.

Where did I go wrong?
  #4 (permalink)  
Old 22-Dec-2007, 15:09
pturner7
Guest
 
Posts: n/a
Default

You really need to find gcc.

Have you tried the link I supplied above > http://software.opensuse.org/search?basepr...t=openSUSE:10.3 ?

  #5 (permalink)  
Old 22-Dec-2007, 15:50
art972
Guest
 
Posts: n/a
Default

su - to root and type yast -i kernel-source gcc gcc-c++ and hit Enter.


Once the installation has finished, verify that the proper packages have been installed by typing rpm -qa kernel* gcc* make and pressing Enter. Verify that you have the kernel-source, gcc, gcc-c++, and make packages installed. Make sure that the kernel (kernel-default, kernel-smp, or kernel-bigsmp) and the kernel-source version numbers match.
  #6 (permalink)  
Old 22-Dec-2007, 21:11
jordan28
Guest
 
Posts: n/a
Default

I tried the link, and typed gcc for Suse 10.1.

I chose this file:

gcc-4.1.2_20070115-2.9.i586.rpm

I ended up with this message during instalation:

Dependancy Resolution Failed

Installing gcc-4.1.2_20070115-2.9.i586[Local packages]
There are no installable providers of cpp == 4.1.2_20070115-2.9 for gcc-4.1.2_20070115-2.9.i586[Local packages]


Quote:
su - to root and type yast -i kernel-source gcc gcc-c++ and hit Enter.


Once the installation has finished, verify that the proper packages have been installed by typing rpm -qa kernel* gcc* make and pressing Enter. Verify that you have the kernel-source, gcc, gcc-c++, and make packages installed. Make sure that the kernel (kernel-default, kernel-smp, or kernel-bigsmp) and the kernel-source version numbers match.

[/b]
I have the same errors when I try that:

checking for prefix by checking for nasm... no
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
  #7 (permalink)  
Old 23-Dec-2007, 09:35
pturner7
Guest
 
Posts: n/a
Default

Quote:
I tried the link, and typed gcc for Suse 10.1.

I chose this file:

gcc-4.1.2_20070115-2.9.i586.rpm

I ended up with this message during instalation:

Dependancy Resolution Failed

Installing gcc-4.1.2_20070115-2.9.i586[Local packages]
There are no installable providers of cpp == 4.1.2_20070115-2.9 for gcc-4.1.2_20070115-2.9.i586[Local packages]
[/b]
You have a dependancy issue with cpp - you can get this from the same place - just enter cpp as the search term and install the version highlighted in red above. Then install gcc afterwards.


  #8 (permalink)  
Old 23-Dec-2007, 09:47
ken_yap
Guest
 
Posts: n/a
Default

A couple of corrections:

You don't need kernel-source to compile nasm-2.00.

The basic problem is you have no installation sources defined, look back at post #3. You should have the 10.1 DVD or CD set specified as installation source. Failing that, the main repository for 10.1 which on the net. Once you can see gcc as an installable, it should pull in the other dependencies.

What do you want to do with nasm BTW? Just curious.
 

Bookmarks

Thread Tools
Display Modes

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




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2