Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hey, I'm pretty new to Linux and I'm having
great fun trying to install a program from
source.
After some research I figured out SuSE 9.1
Professional Edition doesn't come with a
compiler, so I installed gcc and make.
Both programs were installed using YaST,
from various combinations of the 5 SuSE
disks.
Foolishly, I then felt ready to install
aMule from source, and here's what
happened:
------
# tar xvzf aMule-2.0.0rc3.tar.gz
# cd aMule-2.0.0rc3
# ./configure
/* The problem occurs HERE /*
# make
make: *** No targets specified and no
makefile found. Stop.
------
Then I tried using the which command to
make sure that gcc and make were installed
OK:
------
# which gcc
/usr/bin/gcc
# which make
/usr/bin/make
------
Any ideas?

What is the error from the problem? If configure doesn't complete then there will be no makefile, hence the second error.
Why not use the suse rpm on the amule website rather than trying to compile it yourself?
http://www.amule.org/dl/index.php

configure: error:
Please check that wx-config is in
path, the directory
where wxWidgets libraries are
installed (returned by
'wx-config --libs' command) is in
LD_LIBRARY_PATH or
equivalent variable and wxWidgets
is version 2.4.0 or above.
Or this might also be a bug in our
configure. Please try again
with
--with-wx-config=/usr/bin/wx-config
(replace /usr/bin/wx-config with a
valid path to your wx-config)
* Note:
Most probably, either one of the
above aren't correct, you don't
have wxGTK installed, or are
missing wxGTK-devel (or equivalent) package

OK, I tried again after installing wxGTK
and the error message now reads:
configure: error:
WARNING: curl >= 7.9.5 is not found.
Please check that curl-config is in your
default path, check out
LD_LIBRARY_PATH or equivalent variable.
Or this might also be that your
curl-config has other name.
Please try again with
--with-curl-config=/usr/bin/curl-config
(replace /usr/bin/curl-config with a valid
path to your curl-config).
If you use compiled packages check if you
have devel pack installed.
To download the lastest version check
http://curl.haxx.se/download.html for
sources.

"... Most probably, either one of the
above aren't correct, you don't
have wxGTK installed, or are
missing wxGTK-devel (or equivalent) package..."There's your problem....do you have the wxGTK and wxGTK develepment packages installed? They are probably on your installation CDs but you can also download them from here:
ftp://rpmfind.net/linux/SuSE-Linux/i386/9.1/suse/i586/wxGTK-devel-2.4.2.4-138.i586.rpm
ftp://rpmfind.net/linux/SuSE-Linux/i386/9.1/suse/i586/wxGTK-2.4.2.4-138.i586.rpmWhen compiling stuff you often need to have the development packages installed, eg if making a program for X you will need the X development package installed. For future reference when installing GNU/Linux, where you generally choose what role the computer will play (eg server, workstation, multimedia, KDE etc) I would recommend selecting "development" as well providing you have the disc space.

I followed the url:
http://curl.haxx.se/download.html
and installed this one:
Suse 9 7.11.0 bin OpenPKG
Is this the right one?
Same error appears when I try
to ./configure?

Thanks for the direct links, I have
installed both to be sure, and tried again.
Here's the message:
configure: error:
WARNING: curl >= 7.9.5 is not
found.
Please check that curl-config is in
your default path, check out
LD_LIBRARY_PATH or equivalent
variable.
Or this might also be that your
curl-config has other name.
Please try again with
--with-curl-config=/usr/bin/curl-config
(replace /usr/bin/curl-config with
a valid path to your curl-config).
If you use compiled packages check
if you have devel pack installed.
To download the lastest version
check http://curl.haxx.se/download.html for
sources
I believe this is the same. Thanks for
your time.

OK, it seems we're in business! Bu would
you go ahead and install the program?
"Which libraries should aMule use?
wxWidgets 2.4.2
GTK Not detected
WARNING!! Your wxWidgets copy has been
linked against GTK2 and this will make
aMule be instable, use so much cpu and ram.
You have been advised, don't report bugs
so."

Do you have a decent net connection? If so I would rexcommend using a package manager that will automatically resolve, download and install any dependencies required.
One of the most frustrating things about GNU/Linux for the newbie is trying to install new software. You end up in RPM hell! Package A wont install because it needs package B. So you go off to find, download and try to install package B only to find that that program relies on package C.....and so on.
When I first started using GNU/Linux it annoyed the crap out of me. Things were made a little easier with web sites like http://rpmfind.net, http://rpm.pbone.net and http://freshrpms.net which allowed me to search for anything I might need. Theses days things have got a lot easier thanks to BSD's ports and Debian's apt-get. They automatically find and install any dependencies for you and have spawned many projects aimed at different distros. Redhat users can use apt-get or yum, mandrake uses urpmi, gentoo emerge, slackware (my personal favourite) swaret or slapt-get. I haven't used suse for ages (last time I bought it was v5.2!) but I'm sure that you can use yast to do the same. Eg if I wanted to install amule, all I have to do is type:
# swaret --install amule
and I don't even have to worry aboiut trying to find a website to download it from!Did you try installing the pre-compiled binary for suse?
http://download.berlios.de/amule/aMule-2.0.0rc3-1.i586-SuSE_9.0.rpm
This should save you the trouble of having to compile it yourself, to install it after downloading:
# rpm -ivh aMule-2.0.0rc3-1.i586-SuSE_9.0.rpm

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |