LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-21-2003, 10:49 AM   #1
Luddite
LQ Newbie
 
Registered: Oct 2003
Location: Leeds, England.
Distribution: MDK 9.0
Posts: 11

Rep: Reputation: 0
Software Installation - How to Create MAKEFILE


Afternoon all,

So far so good in the warm Linux waters except that I am having a nightmare with software installation. Specifically, I'm trying to install P2P software from the following location: http://savannah.nongnu.org/projects/mldonkey/ as recommended by Teval on this forum (cheers for the tip!)

I have a 633 Celeron running Mandrake 9 (or 9.1) and downloaded file mldonkey-2.5-4.static.i586-Linux.tar.bz2

Following advice given elsewhere on the forum, I was hoping to install the P2P software using the following commands:

bunzip2 mldonkey-2.5-4.static.i586-Linux.tar.bz2
tar -xvf mldonkey-2.5-4.static.i586-Linux.tar.bz2
cd mldonkey-distrib-2.5-4
./configure
make
su -c "make install"

All goes well until I get to ./configure - I get a new directory full of various files that relate to mldonkey but when I type ./configure, I get error "bash: ./configure: No such file or directory". Thinking I was typing ./configure incorrectly, I tried the following:

. /configure result="bash: /configure: No such file or directory";
./ configure result="bash: ./: is a directory";
. / configure result="bash: .: /: is a directory".

If I try to skip this step and just type "make", I get error "make: ***No targets specified and no makefile found. Stop."

No doubt this is a groanworthy question but I'd really appreciate any advice you guys could give.

Cheers!
The Luddite.
 
Old 11-21-2003, 11:06 AM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
From the error message, it sounds as if you are in the wrong directory. Can you see the configure file? If so try using the full path to configure, such as /home/fancy/mldonkey-distrib-2.5-4/configure

# Guides to software management
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation

# Mandrake links
Mandrake home page
Mandrake Users website
Easy urpmi config for Mandrake
urpmi mini-HOWTO
Easy software management: Red Carpet
Maximum RPM
rpmfind
You didn't install the developmental packages? As root, command:
urpmi gcc
An Introduction to the Midnight Commander. You can install it by commanding:
urpmi mc
Midnight Commander home page
 
Old 11-21-2003, 11:33 AM   #3
Luddite
LQ Newbie
 
Registered: Oct 2003
Location: Leeds, England.
Distribution: MDK 9.0
Posts: 11

Original Poster
Rep: Reputation: 0
Cheers Fancypiper!

Err, pass - what does a configure file look like? I've had a butcher's at all the files in the mldonkey directory that was created and there's nothing called configure.

Am still getting all manner of error messages with the ./configure part.

One day I'll understand this and laugh - any more advice 'till then?!

Cheers,
The Luddite.
 
Old 11-21-2003, 11:48 AM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 58
it will be a file with the name configure

Post the contents of the directory. Perhaps you don't have source code. The website mentions that it isn't GPLed, so you may have a binary to install rather than source code.

Can you see an INSTALL or README file?

Last edited by fancypiper; 11-21-2003 at 11:49 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
configure doesn't create a Makefile (with anjuta) crashmakerMX Programming 5 06-24-2005 05:48 PM
create GNU make Makefile from visualstudio project andreyk Programming 0 02-02-2005 11:25 AM
How to write makefile to create shared library in 2.6 kernel yogeshwar_s Linux - Software 1 12-29-2004 01:39 AM
How to create a Kernel 2.6 Makefile 7.e.Q Programming 1 11-03-2004 08:47 AM
Create my own configure and Makefile Ephracis Linux - Software 1 10-11-2004 09:00 PM


All times are GMT -5. The time now is 06:34 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration