LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-30-2012, 12:15 PM   #1
aristocratic
Member
 
Registered: Sep 2011
Location: Texas
Distribution: Open SuSE 12.1, Lucid Puppy
Posts: 90

Rep: Reputation: Disabled
Errors when using the "./configure" command while trying to install aria2 on SuSE


When trying to install different software (nmap, aria2), I seem to consistently get the following errors. (I did read the README file, and it said to use the ./configure command).

linux:~/Downloads/aria2-1.15.1 # ./configure
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/Downloads/aria2-1.15.1':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

I am running on a 64 bit system, but it appears that my gcc compilers are for 32 bit. Here is the output from the command "zypper search gcc". So, it appears that I have a gcc compiler installed, but it may need to be 64 bit, instead of 32 bit.

linux:~ # zypper search gcc
Loading repository data...
Reading installed packages...

S | Name | Summary | Type
--+----------------+-----------------------------------------------+-----------
| gcc | The system GNU C Compiler | package
| gcc | The system GNU C Compiler | srcpackage
| gcc-32bit | The system GNU C Compiler | package
| gcc-c++ | The system GNU C++ Compiler | package
| gcc-info | The system GNU Compiler documentation | package
| gcc-locale | The system GNU Compiler locale files | package
| gcc33 | The GNU C Compiler Version 3.3(evaluation) | srcpackage
| gcc43 | The GNU C Compiler and Support Files | package
| gcc43 | The GNU C Compiler and Support Files | srcpackage
| gcc43-32bit | The GNU C Compiler and Support Files | package
| gcc43-c++ | The GNU C++ Compiler | package
| gcc43-info | Documentation for the GNU compiler collection | package
| gcc43-locale | Locale Data for the GNU Compiler Collection | package
i | libgcc43 | C compiler runtime library | package
i | libgcc43-32bit | C compiler runtime library | package

My question is, is there any way to use the zypper command to retrieve the 64 bit compiler from a remote repository? In a previous thread, knudfl seemed to indicate that I could do this, as long as I was connected to the internet. Any other advice would be appreciated.
 
Old 07-30-2012, 04:53 PM   #2
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Install a basic development environment with:

Code:
zypper in -t pattern devel_basis
 
Old 07-30-2012, 05:08 PM   #3
aristocratic
Member
 
Registered: Sep 2011
Location: Texas
Distribution: Open SuSE 12.1, Lucid Puppy
Posts: 90

Original Poster
Rep: Reputation: Disabled
hm...

Here is the output:

linux:~ # zypper in -t pattern devel_basis
Loading repository data...
Reading installed packages...
'devel_basis' not found.
Resolving package dependencies...

Nothing to do.
 
Old 07-31-2012, 02:54 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
# zypper in -t pattern devel_basis
Never heard about it.

Why not install the c compiler and all the required packages for c ?

Simply : # zypper in gcc-c++


.
 
1 members found this post helpful.
Old 07-31-2012, 07:23 AM   #5
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by aristocratic View Post
Here is the output:

linux:~ # zypper in -t pattern devel_basis
Loading repository data...
Reading installed packages...
'devel_basis' not found.
Resolving package dependencies...

Nothing to do.
What version of SuSE do you have installed?

Quote:
Originally Posted by knudfl View Post
Never heard about it.
Then you are missing out! Zypper uses patterns as its method of installing collections of related software. Here are the development patterns:

Code:
# zypper se -t pattern devel
Loading repository data...
Reading installed packages...

S | Name            | Summary                             | Type   
--+-----------------+-------------------------------------+--------
  | devel_C_C++     | C/C++ Development                   | pattern
  | devel_basis     | Base Development                    | pattern
  | devel_gnome     | GNOME Development                   | pattern
  | devel_ide       | Integrated Development Environments | pattern
  | devel_java      | Java Development                    | pattern
  | devel_kde       | KDE Development                     | pattern
  | devel_kernel    | Linux Kernel Development            | pattern
  | devel_mono      | .NET Development                    | pattern
  | devel_perl      | Perl Development                    | pattern
  | devel_python    | Python Development                  | pattern
  | devel_qt4       | Qt 4 Development                    | pattern
  | devel_rpm_build | RPM Build Environment               | pattern
  | devel_ruby      | Ruby Development                    | pattern
  | devel_tcl       | Tcl/Tk Development                  | pattern
  | devel_web       | Web Development                     | pattern
  | devel_yast      | YaST Development                    | pattern
Admittedly devel_basis is a fairly large pattern and many might consider it an overkill just to compile aria2. This is what installing the devel_basis would give you (all the stuff marked 'i').

Code:
# zypper if -t pattern devel_basis
Loading repository data...
Reading installed packages...


Information for pattern devel_basis:

Repository: openSUSE-12.1-Oss
Name: devel_basis
Version: 12.1-25.21.1
Arch: i586
Vendor: openSUSE
Installed: Yes
Summary: Base Development
Description: 


Minimal set of tools for compiling and linking applications.
Contents:

S | Name                          | Type    | Dependency
--+-------------------------------+---------+-----------
i | libaio-devel                  | package |           
i | glibc-info                    | package |           
  | icecream                      | package |           
i | gmp-devel                     | package |           
i | gettext-tools                 | package |           
i | zlib-devel                    | package |           
  | libgssglue-devel              | package |           
i | glibc-devel                   | package |           
i | libstdc++-devel               | package |           
i | openldap2-devel               | package |           
i | libapparmor-devel             | package |           
i | texinfo                       | package |           
i | libgcj-devel                  | package |           
i | autoconf                      | package |           
i | pam-devel                     | package |           
i | subversion                    | package |           
i | gcc                           | package |           
i | automake                      | package |           
i | gcc-c++                       | package |           
  | gcc-fortran                   | package |           
i | gcc-info                      | package |           
i | bin86                         | package |           
i | e2fsprogs-devel               | package |           
i | rcs                           | package |           
  | gcc-objc                      | package |           
i | patch                         | package |           
  | wiggle                        | package |           
  | ccache                        | package |           
i | patterns-openSUSE-devel_basis | package |           
i | m4                            | package |           
i | binutils                      | package |           
  | nasm                          | package |           
i | flex                          | package |           
i | binutils-devel                | package |           
i | bison                         | package |           
i | cvs                           | package |           
  | subversion-doc                | package |           
i | libdb-4_5-devel               | package |           
i | make                          | package |           
i | gperf                         | package |           
i | fdupes                        | package |           
  | build                         | package |           
i | libosip2-devel                | package |           
  | audit-devel                   | package |           
  | oprofile                      | package |           
i | gdbm-devel                    | package |           
i | ncurses-devel                 | package |           
  | mpfr-devel                    | package |           
i | libtool                       | package |           
i | cpp                           | package |           
i | pkg-config                    | package |
On the other hand, whilst it is an overkill devel_basis does include all of the build dependencies for aria2 and is a handy collection of packages to have anyway as it allows you to build a wide variety of things without having to constantly add packages. Personally it is one of the first things I add to SuSE installations.

Quote:
Originally Posted by knudfl View Post
Why not install the c compiler and all the required packages for c ?

Simply : # zypper in gcc-c++
He could but I am pretty sure aria2 has more build dependencies than that. The gcc-c++ package doesn't for example depend on make. Granted aristocratic must have make installed to have got as far as he has, but you get the idea. Installing a complete pattern like devel_basis will save him time later if he intends to compile a lot of software.

Last edited by ruario; 07-31-2012 at 08:19 AM. Reason: Changed the command to list what makes up devel_basis
 
Old 07-31-2012, 07:32 AM   #6
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by ruario View Post
Personally it is one of the first things I add to SuSE installations.
As a side note, on Debian/Ubuntu systems I always install:

Code:
apt-get install build-essential
On RedHat/Fedora I always install:

Code:
yum groupinstall "Development Tools"
On Arch Linux I aways install:

Code:
pacman -S base-devel
And on Slackware I already have everything I need! :P
 
Old 07-31-2012, 07:46 AM   #7
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
More information on SuSE Patterns can be found on their old wiki:

http://old-en.opensuse.org/Patterns
 
Old 07-31-2012, 08:19 AM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by aristocratic View Post
When trying to install different software (nmap, aria2),
Is you installing software from source just a recurring pattern by now I wonder?..
Don't your OpenSuSE / SLES repos provide you with current versions of Nmap, Aria2c and other SW?
 
Old 07-31-2012, 09:48 AM   #9
aristocratic
Member
 
Registered: Sep 2011
Location: Texas
Distribution: Open SuSE 12.1, Lucid Puppy
Posts: 90

Original Poster
Rep: Reputation: Disabled
Summary of what I tried on my own

I researched and tried a few things on my own. The brief troubleshooting summary is below:

I am using the following version of SuSE: SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152

From the openSuSE website, I downloaded ISO image openSUSE-12.1-DVD-x86_64.iso

Went to Yast-> Software Repositories -> Add -> Specify URL, then cut and pasted the ISO image openSUSE-12.1-DVD-x86_64.iso, and checked the "Download Repository Files" option.

This seemed to give me more programs when I run the "zypper search gcc" option (see output below). My rationale for doing this is maybe it would give me a more recent 64 bit gcc compiler.

Output of the "zypper serach gcc" command:

S | Name | Summary | Type
--+---------------------+-----------------------------------------------+-----------
| gcc | The system GNU C Compiler | package
| gcc | The system GNU C Compiler | srcpackage
| gcc-32bit | The system GNU C Compiler | package
| gcc-c++ | The system GNU C++ Compiler | package
| gcc-c++-32bit | The system GNU C++ Compiler | package
| gcc-fortran | The system GNU Fortran Compiler | package
| gcc-fortran-32bit | The system GNU Fortran Compiler | package
| gcc-gij | The system GNU Java bytecode interpreter | package
| gcc-info | The system GNU Compiler documentation | package
| gcc-java | The system GNU Java Compiler | package
| gcc-locale | The system GNU Compiler locale files | package
| gcc-objc | The system GNU Objective C Compiler | package
| gcc-objc-32bit | The system GNU Objective C Compiler | package
| gcc33 | The GNU C Compiler Version 3.3(evaluation) | srcpackage
| gcc43 | The GNU C Compiler and Support Files | package
| gcc43 | The GNU C Compiler and Support Files | srcpackage
| gcc43-32bit | The GNU C Compiler and Support Files | package
| gcc43-c++ | The GNU C++ Compiler | package
| gcc43-info | Documentation for the GNU compiler collection | package
| gcc43-locale | Locale Data for the GNU Compiler Collection | package
| gcc46 | The GNU C Compiler and Support Files | package
| gcc46-32bit | The GNU C Compiler 32bit support | package
| gcc46-c++ | The GNU C++ Compiler | package
| gcc46-fortran | The GNU Fortran Compiler and Support Files | package
| gcc46-fortran-32bit | The GNU Fortran Compiler and Support Files | package
| gcc46-gij | Java Bytecode Interpreter for gcc | package
| gcc46-info | Documentation for the GNU compiler collection | package
| gcc46-java | The GNU Java Compiler | package
| gcc46-objc | GNU Objective C Compiler | package
| gcc46-objc-32bit | GNU Objective C Compiler | package
i | libgcc43 | C compiler runtime library | package
i | libgcc43-32bit | C compiler runtime library | package
| libgcc46 | C compiler runtime library | package
| libgcc46-32bit | C compiler runtime library | package


Running the zypper in gcc-c++ command, it tries to retrieve "glibc-devel" from the CD, which I do not have. It doesn't seem to install the other gcc programs (gcc, gcc43, gcc42-c++)

linux:~ # zypper in gcc-c++
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following NEW packages are going to be installed:
gcc gcc43 gcc43-c++ gcc-c++ glibc-devel libstdc++43-devel

6 new packages to install.
Overall download size: 12.3 MiB. After the operation, additional 64.5 MiB will
be used.
Continue? [y/n/?] (y): y
Retrieving package glibc-devel-2.11.1-0.17.4.x86_64 (1/6), 4.7 MiB (30.6 MiB unpacked)
Failed to mount cd:///?devices=/dev/sr0 on /var/adm/mount/AP_0x00000001: Mounting media failed (mount: no medium found on /dev/sr0)

Please insert medium [SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152] #1 and type 'y' to continue or 'n' to cancel the operation. [yes/no] (no):

Trying the ./configure command produces the same results as before:

linux:~/Downloads/aria2-1.15.1 # ./configure
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/Downloads/aria2-1.15.1':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

config.log is a long file with lots of comments that I don't want to place here.
 
Old 07-31-2012, 10:12 AM   #10
aristocratic
Member
 
Registered: Sep 2011
Location: Texas
Distribution: Open SuSE 12.1, Lucid Puppy
Posts: 90

Original Poster
Rep: Reputation: Disabled
Thanks for the advice you folks have taken the time to give

Here are some outputs from the commands you have suggested:

Version of Linux: SUSE-Linux-Enterprise-Server-11-SP1 11.1.1-1.152

command "zypper in gcc-c++" requests a CD (which I don't have), I posted the output in my previous post.

linux:~/Downloads/aria2-1.15.1 # zypper se -t pattern devel_basis
Loading repository data...
Reading installed packages...

S | Name | Summary | Type
--+-------------+------------------+--------
| devel_basis | Base Development | pattern

linux:~/Downloads/aria2-1.15.1 # zypper se -t pattern devel
Loading repository data...
Reading installed packages...

S | Name | Summary | Type
--+-----------------+-------------------------------------+--------
| Basis-Devel | C/C++ Compiler and Tools | pattern
| devel_C_C++ | C/C++ Development | pattern
| devel_basis | Base Development | pattern
| devel_gnome | GNOME Development | pattern
| devel_ide | Integrated Development Environments | pattern
| devel_java | Java Development | pattern
| devel_kde | KDE Development | pattern
| devel_kernel | Linux Kernel Development | pattern
| devel_mono | .NET Development | pattern
| devel_perl | Perl Development | pattern
| devel_python | Python Development | pattern
| devel_qt4 | Qt 4 Development | pattern
| devel_rpm_build | RPM Build Environment | pattern
| devel_ruby | Ruby Development | pattern
| devel_tcl | Tcl/Tk Development | pattern
| devel_web | Web Development | pattern

linux:~/Downloads/aria2-1.15.1 # zypper if -t pattern devel_basis
Loading repository data...
Reading installed packages...


Information for pattern devel_basis:

Repository: openSUSE-12.1 12.1-1.4
Name: devel_basis
Version: 12.1-25.21.1
Arch: x86_64
Vendor: openSUSE
Installed: No
Summary: Base Development
Description:
Minimal set of tools for compiling and linking applications.
Contents: .......

Interesting -----> Installed: No
 
Old 07-31-2012, 10:39 AM   #11
aristocratic
Member
 
Registered: Sep 2011
Location: Texas
Distribution: Open SuSE 12.1, Lucid Puppy
Posts: 90

Original Poster
Rep: Reputation: Disabled
"Is you installing software from source just a recurring pattern by now I wonder?..
Don't your OpenSuSE / SLES repos provide you with current versions of Nmap, Aria2c and other SW?"

This definately is a recurring problem. I have yet to successfully use the "./configure" command. And I didn't see Nmap, Aria2c in the software repository, even after I downloaded the ISO for the latest version of openSuSE.

-----------

"He could but I am pretty sure aria2 has more build dependencies than that. The gcc-c++ package doesn't for example depend on make. Granted aristocratic must have make installed to have got as far as he has, but you get the idea. Installing a complete pattern like devel_basis will save him time later if he intends to compile a lot of software."

Exactly. The readme file from aria2 says I also need the following:

How to build
------------
In order to build aria2 from the source package, you need following
development packages(package name may vary depending on the
distribution you use):

* libgnutls-dev (Required for HTTPS, BitTorrent, Checksum support)
* nettle-dev (Required for BitTorrent, Checksum support)
* libgmp-dev (Required for BitTorrent)
* libc-ares-dev (Required for async DNS support)
* libxml2-dev (Required for Metalink support)
* zlib1g-dev (Required for gzip, deflate decoding support in HTTP)
* libsqlite3-dev (Required for Firefox3/Chromium cookie support)
 
Old 07-31-2012, 11:16 AM   #12
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by aristocratic View Post
This definately is a recurring problem. I have yet to successfully use the "./configure" command.
I don't mean a recurring problem wrt installing from source but that you should use your package manager instead.


Quote:
Originally Posted by aristocratic View Post
I didn't see Nmap, Aria2c in the software repository
Then please focus on diagnosing that. Even w/o running OpenSuSE I can see:
http://download.opensuse.org/distrib...2.1.2.i586.rpm
http://download.opensuse.org/distrib...4.3.2.i586.rpm
http://download.opensuse.org/update/...-16.1.i586.rpm
 
Old 07-31-2012, 12:41 PM   #13
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Indeed, I agree with unSpawn, it would be better that you get Zypper/YaST2 working. There is no point making stuff hard for yourself even if you do want to learn. It'll be far more useful to you (and a good learning experience) to understand why you are having trouble installing via the native package manager and to fix this problem.

Also when learning something new it is best to do it in the right order. Installing from source is a more advanced topic. Additionally it is rarely needed these days on distros like SuSE or Debian, which have very big software repositories. The main reasons for installing from source are because your distros' repositories don't provide the software (not true in your case) or because you want to configure the software with different options than those provided by your distros' binary packages. Sure, learning something new is a valid reason but learn your package manager first as you are likely to be using that a lot more often.

Last edited by ruario; 07-31-2012 at 01:05 PM. Reason: removed my final line as I realised my assumption was probably wrong
 
Old 07-31-2012, 04:10 PM   #14
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
SUSE-Linux-Enterprise-Server-11-SP1
is not FREE
and NOT for the desktop ( SELD -SUSE Enterprise Linux Desktop -- is )
also opensuse 11 is DEAD and only opensuse 12 is supported

mixing SELS 11 and opensuse 12 is NOT a good idea

buy the SERVER license from novell for SELS
or
use Opensuse
 
Old 07-31-2012, 04:38 PM   #15
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by John VV View Post
(..) FREE (..) NOT (..) NOT (..)
buy the SERVER license from novell for SELS
or
use Opensuse
Instead of your default assumption that anyone who posts on LQ is without valid license could you try avoid shouting and first ask if your fellow LQ member actually has a license? Thanks for making an effort.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Errors executing shell script: "command not found" and "no such file or directory" eko000 Linux - Newbie 1 01-14-2011 07:54 AM
So many errors when I typed the "make" and "make install" command Niceman2005 Linux - Software 23 07-22-2009 02:33 PM
Constant errors during "make" or "make install" with SUSE 10.1 Alpha 4 TehFlyingDutchman Linux - Software 3 12-30-2005 06:25 PM
FC4 install errors, "diabling IRQ #10" "nobody cares" error message??? A6Quattro Fedora 6 07-20-2005 12:49 PM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration