LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-29-2006, 08:44 PM   #1
kahn
Member
 
Registered: Feb 2004
Location: Seattle
Distribution: FC5
Posts: 109

Rep: Reputation: 15
what to do with no configure file or make file?


I feel stupid for th is, as I had this problem a few days ago, now I have it again and I cannot for the life of me find out where I found it or how I even did it to begin with.

I have download source files, but there is no make file or configure file in the directory. I found something to I think to use make to create a configure, but I'm not sure.

Does anybody know what I'm talking about or can anybody point me in the right direction?

My other question is, is a configure file the same everytime I run it? or do people have custom configure files?

Im running fc5

Martin
 
Old 04-29-2006, 08:46 PM   #2
Kethinov
Member
 
Registered: Oct 2003
Location: ESU, Student Teaching 5th Grade
Distribution: Ubuntu
Posts: 118

Rep: Reputation: 15
If you're attempting to compile somethiing from source and there is no configure or makefile provided, the package will usually have some sort of INSTALL text document or a README explaining what steps are necessary to compile and/or install the software.
 
Old 04-29-2006, 08:53 PM   #3
kahn
Member
 
Registered: Feb 2004
Location: Seattle
Distribution: FC5
Posts: 109

Original Poster
Rep: Reputation: 15
the directions are generic instructions.
 
Old 04-30-2006, 02:29 AM   #4
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
Quote:
the directions are generic instructions.
What does that mean? What file is it? What did files say? You need to be more specific.
 
Old 04-30-2006, 03:01 AM   #5
Kethinov
Member
 
Registered: Oct 2003
Location: ESU, Student Teaching 5th Grade
Distribution: Ubuntu
Posts: 118

Rep: Reputation: 15
Or more importantly, what application are you trying to compile?
 
Old 04-30-2006, 05:19 AM   #6
auditek747
Member
 
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464

Rep: Reputation: 30
Code:
./autogen.sh
Perhaps?
 
Old 04-30-2006, 12:15 PM   #7
kahn
Member
 
Registered: Feb 2004
Location: Seattle
Distribution: FC5
Posts: 109

Original Poster
Rep: Reputation: 15
the install instructions say "these are generic install instructions"

it is a theme for kde

ls =

[marlin_build_los-linspireclear-style-1]$ ls
acinclude.m4 configure.in.in Makefile.calls README
aclocal.m4 COPYING Makefile.calls.in stamp-h.in
admin COPYING.LIB Makefile.cvs style
AUTHORS debian Makefile.rules subdirs
autom4te.cache decoration Makefile.rules.in TODO
ChangeLog Doxyfile MakeVars
config.h.in INSTALL MakeVars.in
configure.files Makefile.am NEWS

apparently there is an autoconf
and you give it the configure.in file, but that fails too

[marlin_build_los-linspireclear-style-1]$ autoconf configure.in.in
configure.in.in:3: error: m4_defn: undefined macro: _m4_divert_diversion
aclocal.m4:11040: AM_INIT_AUTOMAKE is expanded from...
configure.in.in:3: the top level
autom4te: /usr/bin/m4 failed with exit status: 1



and for fun, here are the generic install instructions

These are generic installation instructions.

The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions. Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, a file
`config.cache' that saves the results of its tests to speed up
reconfiguring, and a file `config.log' containing compiler output
(useful mainly for debugging `configure').

If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release. If at some point `config.cache'
contains results you don't want to keep, you may remove or edit it.

The file `configure.in' is used to create `configure' by a program
called `autoconf'. You only need `configure.in' if you want to change
it or regenerate `configure' using a newer version of `autoconf'.

The simplest way to compile this package is:

1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.

Running `configure' takes a while. While running, it prints some
messages telling which features it is checking for.

2. Type `make' to compile the package.

3. Type `make install' to install the programs and any data files and
"INSTALL" 167L, 6970C 39,3 Top
 
Old 04-30-2006, 12:40 PM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Its helpful if you could put all the details of your problem in the first post e.g. I am trying to install a package called XYZ but it has no make file. How do I install it.

Anyway the package is the linspire default KDE theme, so you need to do the following

Code:
$ make -f Makefile.cvs
$./configure --prefix=`kde-config --prefix`
$make
#make install
The first step will create the configure file. Note, this procedure is mainly for KDE apps checked out from CVS or Subversion so other apps may need to be installed differently.
 
  


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
[root@Linuxboy magicolor2430DL-1.1.0]# ./configure ./configure: No such file or ... anseK Mandriva 7 01-02-2006 05:21 PM
Can't Configure Or run Make file Pretzels Linux - Software 4 01-26-2005 11:29 AM
when creating a *.iso file, how to make the file size smaller? minm Linux - Newbie 8 12-26-2004 10:58 PM
I accidentally deleted make file in /usr/local/bin, now cannot use make command.... Niceman2005 Linux - Software 2 11-17-2004 08:55 PM
How to play a media file/ video file/mp3 file recorded in harddisk/cd-rom arindam Linux - Newbie 2 09-05-2003 11:31 AM

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

All times are GMT -5. The time now is 12:46 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