Computing.Net > Forums > Linux > Can't 'make' it

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Can't 'make' it

Reply to Message Icon

Name: MiKeY
Date: July 7, 2004 at 15:14:42 Pacific
OS: SuSE 9.1 Pro
CPU/Ram: Athlon XP 2.4GHz/384MB
Comment:

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?



Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: July 8, 2004 at 00:59:06 Pacific
Reply:

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


0

Response Number 2
Name: MiKeY
Date: July 8, 2004 at 01:49:48 Pacific
Reply:

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


0

Response Number 3
Name: MiKeY
Date: July 8, 2004 at 01:58:08 Pacific
Reply:

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.


0

Response Number 4
Name: 3Dave
Date: July 8, 2004 at 02:00:01 Pacific
Reply:

"... 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.rpm

When 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.


0

Response Number 5
Name: MiKeY
Date: July 8, 2004 at 02:48:38 Pacific
Reply:

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?


0

Related Posts

See More



Response Number 6
Name: MiKeY
Date: July 8, 2004 at 02:55:55 Pacific
Reply:

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.


0

Response Number 7
Name: MiKeY
Date: July 8, 2004 at 03:03:01 Pacific
Reply:

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."


0

Response Number 8
Name: 3Dave
Date: July 8, 2004 at 04:23:07 Pacific
Reply:

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


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

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


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Can't 'make' it

I CAN'T BELIEVE IT! www.computing.net/answers/linux/i-cant-believe-it/3383.html

I can't my Linux box onto our network www.computing.net/answers/linux/i-cant-my-linux-box-onto-our-network/7713.html

Can't recognize >64M memory www.computing.net/answers/linux/cant-recognize-64m-memory/20250.html