gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 0.6.1.tar.gz problems comiling on OBSD 3.5


From: nemir nemiria
Subject: Re: 0.6.1.tar.gz problems comiling on OBSD 3.5
Date: Thu, 24 Jun 2004 17:36:08 +0000

Hi again!


> Thanks for the reply.    Under OpenBSD autoconf and automake aren't
> installed by default, so the aclocal command wouldn't work.

That's probably an entry for README. You don't need to run these if you
use a tarball. All files are already prepared though.

Yes, I remember back when I was isntalling 0.5.4rc2 I was having exactly these problems - the tarball had a bug that meant it couldn't compile under obsd, but I could never get the cvs to work.


The error below are not caused by incorrect version of autoconf. The
marcros that are missing are provided by automake and libtoo. I have
libtool 1.5.6 and automake 1.8.4 on my system.

I have installed the packages available to obsd, but sadly they seem to be lagging a ways behind your versions. I have contacted the guys responsible for maintaining the packages, but got no response. :-( Were any of the things cited in teh error message part of the new bits of libtool?


Instructions provided by gnokii do not say to just run autoconf. First you
need to prepare all infrastructure for autoconf. Among other: get macros
provided by libtool. Please reread INSTALL file. You have all inctructions
to run given in Quickstart section. Or just use autogen.sh script provided
by gnokii.


That may be the case, but I seem to be too dense to figure them out. Sorry for the lenght of thise post, but I will go into some details as to what I have done.

I read the INSTALL file a few times. And even paid more attention to the messages that these commands put out.

First thing I did was redownload and untar the tarball. I edited the file as bozo's instructions (and the cvs log) indicated I should and ran the installation commands again. I got the exact same error again. :-(


/root/down/gnokii-0.6.1/gnokii/gnokii.c:5113: undefined reference to `textdomain' /root/down/gnokii-0.6.1/gnokii/gnokii.c:5129: undefined reference to `gettext' /root/down/gnokii-0.6.1/gnokii/gnokii.c:5376: undefined reference to `gettext' /root/down/gnokii-0.6.1/gnokii/gnokii.c:5383: undefined reference to `gettext'
../common/.libs/libgnokii.so.2.0: undefined reference to `libintl_relocate'
collect2: ld returned 1 exit status
gmake[1]: *** [gnokii] Error 1
gmake[1]: Leaving directory `/root/down/gnokii-0.6.1/gnokii'
gmake: *** [gnokii] Error 2


So, I switch over to the cvs, and follow the instructions given on the website docs under the cvs button. After I run gettextize, it tells me I need to get some config files from an ftp site, and also add a bunch of m4 files to my 'aclocal.m4' file. Problem is, I don't know where the heck my aclocal.m4 file is. I run /usr/libexec/locate.updatedb and then search, and I find many aclocal.m4 files, but none that look like *my* aclocal.m4 file, if you know what I mean. In the end I just move on and run the aclocal command, and Lo! there appears an aclocal.m4 file in my gnokii directory. so I cat all those listed files into taht file, ftp the two config files into the directory and run autoconf. In obsd3.5 this doesn't work. need to run autoconf-2.59, which does seem to work. This is further than I got earlier. :-)

I then run autoheader-2.59 and get a couple of warnings:

autoheader-2.59: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader-2.59: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader-2.59: WARNING: is deprecated and discouraged.
autoheader-2.59:
autoheader-2.59: WARNING: Using the third argument of `AC_DEFINE' and
autoheader-2.59: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader-2.59: WARNING: `acconfig.h':
autoheader-2.59:
autoheader-2.59: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader-2.59:                [Define if a function `main' is needed.])
autoheader-2.59:
autoheader-2.59: WARNING: More sophisticated templates can also be produced, see the
autoheader-2.59: WARNING: documentation.


But I ignore them and sally forth with my ./configure, where I get some errors after not very long:


bollocks:root:~/down/cvsgnokii/gnokii>./configure
checking build system type... i386-unknown-openbsd3.5
checking host system type... i386-unknown-openbsd3.5
checking target system type... i386-unknown-openbsd3.5
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 how to run the C preprocessor... gcc -E
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for rm... /bin/rm
checking for find... /usr/bin/find
checking for gmake... gmake
checking for ar... ar
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
/bin/sh: config/ltconfig: No such file or directory
configure: error: libtool configure failed




I am very much afraid that I wil never manage to get a cvs gnokii compiled on my obsd system, and am hopeful that a new tarball will be released in the very near future. Is that at all likely?

Or perhaps you could let me know what brain dead thing I have done wrong to make it go? As you have probably figured out by now, I don't have a lot of experience with m4 stuff. And the only online info I could find was aimed at programmers, not dumb end users like me. I hope I have gone to enough effort and given enough detail to earn a little more attention.

Warm regards and many thanks for creating such a great application.

Nemir

_________________________________________________________________
Looking to buy a new house? Try   http://property.ninemsn.com.au/

Attachment: gnokii.inst.tgz
Description: application/gzip-compressed


reply via email to

[Prev in Thread] Current Thread [Next in Thread]