bug-oleo
[Top][All Lists]
Advanced

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

Re: problems compiling oleo-1.99.16


From: Dominik Szczerba
Subject: Re: problems compiling oleo-1.99.16
Date: Sat, 02 Nov 2002 14:29:30 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

Hi,

You could have emphasized at the very beginning that I should get (latest) bison. I had no idea it exists and what it does. Yes, this solves the errors right away. Your patch also fixes it, by the way. I mean: compilation WITHOUT motif (see below)

So I had/have
yacc-91.7.30-505

I just installed:
bison (GNU Bison) 1.75

It however doesnt want to compile in Xbae. I get now the new error:

configure:
checking for Motif... libraries in default path, headers in default path
checking for Xbae... libraries default path, headers default path

make:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../intl -I/usr/X11R6/include -g -O2 -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/X11R6/include -DBUILD_PREFIX='"'/usr/local'"' -c lists.c
In file included from /usr/X11R6/include/X11/Xauth.h:49,
                from /usr/X11R6/include/X11/extensions/Print.h:68,
                from /usr/X11R6/include/Xm/Xm.h:59,
                from io-motif.h:29,
                from lists.c:40:
/usr/X11R6/include/X11/Xfuncs.h:55: warning: `bcopy' redefined
sysdef.h:53: warning: this is the location of the previous definition
/usr/X11R6/include/X11/Xfuncs.h:56: warning: `bzero' redefined
sysdef.h:59: warning: this is the location of the previous definition
/usr/X11R6/include/X11/Xfuncs.h:57: warning: `bcmp' redefined
sysdef.h:56: warning: this is the location of the previous definition
(... and so on ...)



Without your patch it finishes with:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../intl -I/usr/X11R6/include -g -O2 -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/X11R6/include -DBUILD_PREFIX='"'/usr/local'"' -c forminfo.c /bin/sh ./ylwrap "bison -y" posixtm.y y.tab.c posixtm.c y.tab.h posixtm.h -- -d
posixtm.y:89.6: parse error, unexpected ":", expecting ";" or "|"
make[2]: *** [posixtm.c] Error 1
make[2]: Leaving directory `/home/domi/pack/oleo-1.99.16/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/domi/pack/oleo-1.99.16'
make: *** [all-recursive-am] Error 2


If I use your patch it ends with this:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../lib -I../intl -I/usr/X11R6/include -g -O2 -DLOCALEDIR=\"/usr/local/share/locale\" -I/usr/X11R6/include -DBUILD_PREFIX='"'/usr/local'"' -c io-motif.c
io-motif.c:84: cups/cups.h: No such file or directory
make[2]: *** [io-motif.o] Error 1
make[2]: Leaving directory `/home/domi/pack/oleo-1.99.16/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/domi/pack/oleo-1.99.16'
make: *** [all-recursive-am] Error 2

There is no CUPS mentioned in configure?

I would prefer to focus on more elegant solution. what about the first one (without your patch, unless you really need changes in your sources)

Important question:
Is oleo still evolving? has it already reached the heights? or is it abandoned?

thank you
Dominik




Pete Wyckoff wrote:

address@hidden said:
Attached please find the complete compile log.

Thanks.  Can you give the attached patch a shot, and if it works
I'll toss it in the CVS.  It just hides the symbols in one of
the two conflicting source files.

Apply something like this:
   cd /usr/local/src/oleo
   patch -p0 -sNE < ~/posixtm.diff
   make
(maybe make clean if it seems not to do the right thing).

I'd really like to know which yacc you have.  Is there some sort
of package management thing on suse that would say where they
got the "yacc" program from?  Something like the redhat equivalent
of "rpm -q -f /usr/bin/yacc"?  Too bad you don't have bison which
is the first thing that configure looks for.

                -- Pete






reply via email to

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