|
||||||
| 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 |
|
|||
|
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. |
|
|||
|
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'. |
|
|||
|
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? |
|
|||
|
You really need to find gcc.
Have you tried the link I supplied above > http://software.opensuse.org/search?basepr...t=openSUSE:10.3 ? |
|
|||
|
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.
|
|
|||
|
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:
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. |
|
|||
|
Quote:
|
|
|||
|
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 | |
|
|