LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-19-2005, 03:51 AM   #1
crashmakerMX
LQ Newbie
 
Registered: Sep 2004
Posts: 17

Rep: Reputation: 0
configure doesn't create a Makefile (with anjuta)


i'm currently getting started in development with Anjuta. I tried out the simple tutorial for a hello world program. But when I try to build the program, i just get a message from make that there is no Makefile.

I looked in the project directory and there was no Makefile. I tried to run configure by myself. It didn't produce any errors, but it also didn't create a Makefile.
 
Old 06-19-2005, 04:27 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
So I understand there's a ./configure script in the project directory? Do you have also files like Makefile.am ?
 
Old 06-20-2005, 10:04 AM   #3
crashmakerMX
LQ Newbie
 
Registered: Sep 2004
Posts: 17

Original Poster
Rep: Reputation: 0
there are such files. here's a directory listing:

Projects/hallo:
acconfig.h
acinclude.m4
aclocal.m4
AUTHORS
autogen.sh
autom4te.cache
ChangeLog
config.guess
config.h.in
config.log
config.sub
configure
configure.in
COPYING
depcomp
hallo.desktop.in
hallo.glade
hallo.glade.bak
hallo.gladep
hallo.gladep.bak
hallo.prj
hallo.prj.bak
hallo.pws
INSTALL
install-sh
libtool
ltmain.sh
macros
Makefile.am
Makefile.in
missing
mkinstalldirs
NEWS
README
setup-gettext
src
stamp-h.in
TODO

Projects/hallo/autom4te.cache:
output.0
output.1
requests
traces.0
traces.1

Projects/hallo/macros:
autogen.sh
ChangeLog
check-utmp.m4
compiler-flags.m4
curses.m4
gnome-common.m4
gnome-cxx-check.m4
gnome-gettext.m4
gnome-pkgconfig.m4
gnome-platform.m4
gnome-pthread-check.m4
gnome-x-checks.m4
linger.m4
Makefile.am
Makefile.in

Projects/hallo/src:
callbacks.c
callbacks.h
interface.c
interface.c.bak
interface.h
interface.h.bak
main.c
Makefile.am
Makefile.in
support.c
support.h
 
Old 06-21-2005, 05:17 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
It looks correct.. Try (manually):
./autogen.sh
autoconf
automake
./configure
 
Old 06-22-2005, 09:25 AM   #5
crashmakerMX
LQ Newbie
 
Registered: Sep 2004
Posts: 17

Original Poster
Rep: Reputation: 0
doesn't work.

edit: configure didn't print errors, but some gnome-devel packages were missing. now it works fine!

Last edited by crashmakerMX; 06-23-2005 at 11:08 AM.
 
Old 06-24-2005, 04:48 PM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Great

Edit: Configure script generated automatically doesn't really check for all needed libraries. It's programmer's task to add test for all needed ones. It may be tricky sometimes...

Last edited by Mara; 06-24-2005 at 04:49 PM.
 
  


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
How to write makefile to create shared library in 2.6 kernel yogeshwar_s Linux - Software 1 12-29-2004 12:39 AM
How to create a Kernel 2.6 Makefile 7.e.Q Programming 1 11-03-2004 07:47 AM
Create my own configure and Makefile Ephracis Linux - Software 1 10-11-2004 08:00 PM
generate Makefile from Makefile.in without calling ./configure ? chris78 Programming 2 05-02-2004 12:23 PM
Software Installation - How to Create MAKEFILE Luddite Linux - Newbie 3 11-21-2003 10:48 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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