blanky
November 30th, 2005, 04:19 AM
Posted this in LinuxQuestion.Org first, but it didn't get replies, hopefully someone here can help :)
Hey guys, after looking at WxWidgets, QT, etc., I thought I'd try GLADE. I downloaded build-essential, glade, and all other stuff that it needed (the dependencies were handled and I didn't see/forgot). Everything runs fine, I just made a window (didn't rename) and a fixed position widget, and I made a button, not altering any of them from the defaults. Now, when I build code, (I've tried C and C++), everything seems to go alright. After, I go into the directory and do ./autogen.sh. First it had a lot of errors, now, most of them are fixed since I downloaded a library that was -dev or something, I think it was glib-dev, or something else, some were solved. It's just an error that says GTK didn't meet requirements, but apparently I have the latest GTK (I think). Sorry guys, I'm very new to programming in linux, here's the output I get:
jorge@blankpc:~/Projects/test$ sh ./autogen.sh
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.
processing .
Creating ./aclocal.m4 ...
Running glib-gettextize... Ignore non-fatal messages.
Copying file mkinstalldirs
Copying file po/Makefile.in.in
Please add the files
codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
(gnu ftp site, censored cause I have less than 5 posts, not allowed to show URLs).
Making ./aclocal.m4 writable ...
Running aclocal ...
Running autoheader...
Running automake --gnu ...
automake: configure.in: installing `./install-sh'
automake: configure.in: installing `./missing'
automake: configure.in: installing `./config.guess'
automake: configure.in: installing `./config.sub'
automake: Makefile.am: installing `./INSTALL'
automake: Makefile.am: installing `./COPYING'
Running autoconf ...
Running ./configure --enable-maintainer-mode ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... configure: error: Package requirements (gtk+-2.0 >= 2.0.0) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively you may set the PACKAGE_CFLAGS and PACKAGE_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.
Sorry for the long quote, but I think everything helps. I appreciate any help I get, thanks.
Hey guys, after looking at WxWidgets, QT, etc., I thought I'd try GLADE. I downloaded build-essential, glade, and all other stuff that it needed (the dependencies were handled and I didn't see/forgot). Everything runs fine, I just made a window (didn't rename) and a fixed position widget, and I made a button, not altering any of them from the defaults. Now, when I build code, (I've tried C and C++), everything seems to go alright. After, I go into the directory and do ./autogen.sh. First it had a lot of errors, now, most of them are fixed since I downloaded a library that was -dev or something, I think it was glib-dev, or something else, some were solved. It's just an error that says GTK didn't meet requirements, but apparently I have the latest GTK (I think). Sorry guys, I'm very new to programming in linux, here's the output I get:
jorge@blankpc:~/Projects/test$ sh ./autogen.sh
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.
processing .
Creating ./aclocal.m4 ...
Running glib-gettextize... Ignore non-fatal messages.
Copying file mkinstalldirs
Copying file po/Makefile.in.in
Please add the files
codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
progtest.m4
from the /usr/share/aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
(gnu ftp site, censored cause I have less than 5 posts, not allowed to show URLs).
Making ./aclocal.m4 writable ...
Running aclocal ...
Running autoheader...
Running automake --gnu ...
automake: configure.in: installing `./install-sh'
automake: configure.in: installing `./missing'
automake: configure.in: installing `./config.guess'
automake: configure.in: installing `./config.sub'
automake: Makefile.am: installing `./INSTALL'
automake: Makefile.am: installing `./COPYING'
Running autoconf ...
Running ./configure --enable-maintainer-mode ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... configure: error: Package requirements (gtk+-2.0 >= 2.0.0) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively you may set the PACKAGE_CFLAGS and PACKAGE_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.
Sorry for the long quote, but I think everything helps. I appreciate any help I get, thanks.