|
From: Mike J. <mi...@ca...> - 2002-04-29 23:02:43
|
Whoops sent it without finishing it :-)
hmm most be a quirk about the Slackware install of AutoConf/Automake.
Well in any case, there is a way to run aclocal with additional
directories in the ".m4" search path, if you run:
aclocal -I/path/to/files
if will include /path/to/files in the search path.. You should be able
to do this as many times as needed. Maybe it would be a good idea to
include the "non-standard" m4 files in a m4 directory under the build
directory, that way they don't need to be found...
Something I'll have to think about..
- Mike
On Mon, 2002-04-29 at 15:48, Todd E. Johnson wrote:
> Howdy,
>
> Caution: Rather long debugging message...
>
> When I try to run `./autogen.sh`, I get the following error:
>
> <ERROR>
> root@stormtrooper:/usr/local/src/dashpc# ./autogen.sh
> Generating configuration files for DashPC, please wait....
>
> Running libtoolize, please ignore non-fatal messages....
> You should add the contents of `/usr/share/aclocal/libtool.m4' to
> `aclocal.m4'.
> aclocal: configure.ac: 84: macro `AM_PATH_DOTCONF' not found in library
> root@stormtrooper:/usr/local/src/dashpc#
> </ERROR>
>
> If you look at the following:
>
> <INTERESTING INFO>
> root@stormtrooper:/usr/share/aclocal# ls
> ORBit.m4 esd.m4 guile.m4 libole2.m4
> progtest.m4
> ac_find_motif.m4 gconf-1.m4 header.m4 librsvg.m4
> protos.m4
> ac_find_xbae.m4 gdk-pixbuf.m4 iconv.m4 libtool.m4
> ptrdiff.m4
> ac_find_xlt.m4 gettext.m4 imlib.m4 lispdir.m4
> regex.m4
> ac_find_xpm.m4 gimp.m4 init.m4 ltdl.m4 rep.m4
> audiofile.m4 glib.m4 isc-posix.m4 maintainer.m4
> sanity.m4
> ccstdc.m4 glibc21.m4 lcmessage.m4 missing.m4
> sigc++.m4
> codeset.m4 gnome--.m4 lex.m4 mktime.m4
> strtod.m4
> cond.m4 gnome-libole2.m4 libIDL.m4 multi.m4
> termios.m4
> dmalloc.m4 gtk--.m4 libart.m4 oaf.m4
> winsz.m4
> error.m4 gtk.m4 libglade.m4 obstack.m4 xmms.m4
> root@stormtrooper:/usr/share/aclocal# cd /usr/local/share/aclocal/
> root@stormtrooper:/usr/local/share/aclocal# ls
> dotconf.m4 glib-2.0.m4 glib-gettext.m4 gtk-2.0.m4 pkg.m4 sdl.m4
> root@stormtrooper:/usr/local/share/aclocal#
> </INTERESTING INFO>
>
> I simply copied all of the files in "/usr/local/share/aclocal" to
> "/usr/share/aclocal". Now when I run `./autogen.sh`, I get:
>
> <SUCCESSFUL>
> Running libtoolize, please ignore non-fatal messages....
> You should add the contents of `/usr/share/aclocal/libtool.m4' to
> `aclocal.m4'.
> automake: configure.ac: installing `./install-sh'
> automake: configure.ac: installing `./mkinstalldirs'
> automake: configure.ac: installing `./missing'
> checking for a BSD compatible install... /usr/bin/ginstall -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for working makeinfo... missing
> checking whether to enable maintainer-specific portions of Makefiles...
> no
> checking for gcc... gcc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for executable suffix...
> checking for object suffix... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for a BSD compatible install... /usr/bin/ginstall -c
> checking whether ln -s works... yes
> checking whether make sets ${MAKE}... (cached) yes
> checking for strerror in -lcposix... no
> checking build system type... i586-pc-linux-gnu
> checking host system type... i586-pc-linux-gnu
> checking for ld used by GCC... /usr/i386-slackware-linux/bin/ld
> checking if the linker (/usr/i386-slackware-linux/bin/ld) is GNU ld...
> yes
> checking for /usr/i386-slackware-linux/bin/ld option to reload object
> files... -r
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking how to recognise dependant libraries... pass_all
> checking command to parse /usr/bin/nm -B output... ok
> checking how to run the C preprocessor... gcc -E
> checking for dlfcn.h... yes
> checking for ranlib... ranlib
> checking for strip... strip
> checking for objdir... .libs
> checking for gcc option to produce PIC... -fPIC
> checking if gcc PIC flag -fPIC works... yes
> checking if gcc static flag -static works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.lo...
> checking if gcc supports -fno-rtti -fno-exceptions... yes
> checking whether the linker (/usr/i386-slackware-linux/bin/ld) supports
> shared lib
> raries... yes
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking if libtool supports shared libraries... yes
> checking for dlopen in -ldl... yes
> checking whether a program can dlopen itself... yes
> checking whether a statically linked program can dlopen itself... no
> checking whether -lc should be explicitly linked in... no
> creating libtool
> checking for ANSI C header files... yes
> checking for string.h... yes
> checking for malloc.h... yes
> checking for sys/ioctl.h... yes
> checking for gcc option to accept ANSI C... none needed
> checking for an ANSI C-conforming const... yes
> checking whether struct tm is in sys/time.h or time.h... time.h
> checking for gtk-config... /opt/gnome/bin/gtk-config
> checking for GTK - version >= 1.2.6... yes
> checking for glib-config... /opt/gnome/bin/glib-config
> checking for GLIB - version >= 1.2.6... yes
> checking for gdk-pixbuf-config... /opt/gnome/bin/gdk-pixbuf-config
> checking for GDK_PIXBUF - version >= 0.2.5... yes
> checking for dotconf-config... /usr/local/bin/dotconf-config
> checking for dot.conf - version >= 1.0.0... yes
> ./configure: cmp: command not found
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating src/Makefile
> config.status: creating misc/Makefile
> config.status: creating modules/Makefile
> config.status: creating modules/dummy/Makefile
> config.status: creating modules/radio/Makefile
> config.status: creating modules/blank_screen/Makefile
> config.status: creating modules/external/Makefile
> config.status: creating modules/image_viewer/Makefile
> config.status: creating config.h
>
> Configuration Results:
>
> Print debugging messages..................... : no
>
> Configuration directory...................... : /etc/dashpc
>
> Plugins Directory............................ : /usr/local/lib/dashpc
>
> Data:
> Data Directory............................. :
> /usr/local/share/dashpc
> Pixmaps Directory.......................... :
> /usr/local/share/dashpc/pixmaps
> Sounds Directory........................... :
> /usr/local/share/dashpc/sounds
>
> configure complete, now type 'make'
> </SUCCESSFUL>
>
> I figure this is easily fixed by making a variable change? My distro is
> Slackware 8, using the 2.4.18 kernel.
>
> Regards,
>
> Todd E. Johnson
> tej...@ya...
>
>
> ------------------------ Yahoo! Groups Sponsor ---------------------~-->
> Tied to your PC? Cut Loose and
> Stay connected with Yahoo! Mobile
> http://us.click.yahoo.com/QBCcSD/o1CEAA/yigFAA/dpFolB/TM
> ---------------------------------------------------------------------~->
>
> To unsubscribe from this group, send an email to:
> das...@ya...
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
|