LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   configure doesn't create a Makefile (with anjuta) (https://www.linuxquestions.org/questions/programming-9/configure-doesnt-create-a-makefile-with-anjuta-335087/)

crashmakerMX 06-19-2005 03:51 AM

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.

Mara 06-19-2005 04:27 PM

So I understand there's a ./configure script in the project directory? Do you have also files like Makefile.am ?

crashmakerMX 06-20-2005 10:04 AM

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

Mara 06-21-2005 05:17 PM

It looks correct.. Try (manually):
./autogen.sh
autoconf
automake
./configure

crashmakerMX 06-22-2005 09:25 AM

doesn't work.

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

Mara 06-24-2005 04:48 PM

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


All times are GMT -5. The time now is 02:18 AM.