OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Bison Install Problem, for native compilation
Blaise
post Mar 24 2005, 12:42 AM
Post #1





Group: Members
Posts: 37
Joined: 15-March 05
From: Toulouse / France
Member No.: 6,643



Finaly I managed to have zgcc working on Z sl-5500 with OZ-3.5.2 and OPIE-1.2 for native compilation of MapServer. It seems that I solved all libraries dependencies (freetype, libpng, libjpeg, gd); the "./configure" command ends ok. But the "make" command fails with :
#make
... . .
yacc -p msyy -d omapparser.c mapparser.y
make: yacc: Command not found
make: *** [mapparser.c] Error 127
#

Yacc seems related to Bison. I don't understand wether I have bison installed or not :
#ipkg info bison
Package: bison
Version: 1:1.35-3
Depends: libc6 (>= 2.2.4-')
Status: install prefer,user not-installed <---- what does that mean ? ?
ARchitecture: arm

I dl "bison_1.35-3_arm.ipk" but when I try to install it, I get :
#ipkg install /mnt/cf/ms/bison_1.35-3_arm.ipk
Installing bison (1:1.35-3) to sd...
sh: /tmp/ipkg-ey3VZY/bison-PbK06y/preinst: not found
preinst script returned status 127
Aborting installation of bison
An error has occured, return value: 1.

Each time I retry to install bison, it doens't find the preinst in another /tmp/ipkg-xxxx directory.
I looked in /tmp but there is no directory like that, and if I create one, then when I retry to install bison, the name it looks for has changed.

Is Bison that difficult to install ? It seems strange. I'm geting closer and closer to my aim but now, I'm stuck with this "little" thing. Any suggestion for me to install Bison ?

btw: I think I have bison-dev ok :
#ipkg info bison-dev
Package: bison-dev
Version: 1.875-r0
Status: install user installed
Architecture: arm
Installed-Time: 11116542551
but it doesn't seem enough for the make.

Tks
Blaise
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
Blaise
post Mar 24 2005, 05:46 AM
Post #2





Group: Members
Posts: 37
Joined: 15-March 05
From: Toulouse / France
Member No.: 6,643



No idea to help me install bison_1.35-3_arm.ipk ? I'm still trying.

I looked also at yacc because this is where the last build fails :
make: yacc: Command not found

and I found byacc_1.9_arm.ipk
I installed it and now, for mapserver :
#make clean
#./configure --with-good-options... config passes ok
#make make fails with :
yacc -p msyy -d -omapparser.c mapparser.y
usage: yacc [-dlrtv] [-b file_prefix] [-p symbol_prefix] filename
make: *** [mapserv.c] Error 1 mad.gif

Does that mean that the file mapserv.c does not provide the correct syntax for byacc.
Will I have to update this mapserv.c to adjust to byacc syntax ? sad.gif ?
Is there any other yacc ipk around ?
I'm going to try again bison ipk install, but could it work if I build bison from source ? In that case which version should I take ? The last one (2.0) or an older one (like 1.35, 1.50, ...) blink.gif
Any idea welcomed rolleyes.gif
Blaise
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd July 2014 - 06:20 PM