Re: Facing problem while installing chasen-2.2.1 in Solaris box before installing Namazu

"Thomas Bourgain" <[email protected]> Fri, 21 Nov 2003 14:30:01 +0100 (CET)
Newsgroups gmane.comp.search.namazu.user
Message-ID <[email protected]>
Hello,

Try to use gas (GNU as) instead of as. Install it from the companion
software CD provided with your Solaris CD or get it from sunfreeware.com.
I don't remember which package it is.
Then make the gas binary be the default "as" binary by linking it (ln -s
/opt/sfw/bin/gas /usr/bin/as ).

It should be OK.

Tom

> Hi All,
>
> I'm facing following problem while installing chasen component before
> installing Namazu. I'm trying to install chasen-2.2.1 in a Solaris box.
>
> The installation process goes fine till I run sh./configure at the
> chasen-2.2.1 directory. But after that when I issue the command make, I
> get the following error -
>
>
> # make
> make  all-recursive
> Making all in doc
> Making all in prolog
> Making all in lib
> /bin/sh ../libtool --mode=compile gcc
> -DRCPATH=\"/usr/local/share/chasen/dic/ipa
> dic/chasenrc\" -DHAVE_CONFIG_H -I..    -g -O2 -Wall -c chalib.c
> rm -f .libs/chalib.lo
> gcc -DRCPATH=\"/usr/local/share/chasen/dic/ipadic/chasenrc\"
> -DHAVE_CONFIG_H -I.
> . -g -O2 -Wall -c chalib.c  -fPIC -DPIC -o .libs/chalib.lo
> chalib.c: In function `chasen_command':
> chalib.c:308: warning: `new_word_index' might be used uninitialized in
> this func
> tion
> /usr/ccs/bin/as: "/var/tmp/ccp27xMf.s", line 738: error: unknown opcode
> ".subsec
> tion"
> /usr/ccs/bin/as: "/var/tmp/ccp27xMf.s", line 738: error: statement
> syntax
> /usr/ccs/bin/as: "/var/tmp/ccp27xMf.s", line 761: error: unknown opcode
> ".previo
> us"
> /usr/ccs/bin/as: "/var/tmp/ccp27xMf.s", line 761: error: statement
> syntax
> /usr/ccs/bin/as: "/var/tmp/ccp27xMf.s", line 1206: error: unknown opcode
> ".subse
> ction"
> /usr/ccs/bin/as: "/var/tmp/ccp27xMf.s", line 1206: error: statement
> syntax
> /usr/ccs/bin/as: "/var/tmp/ccp27xMf.s", line 1263: error: unknown opcode
> ".previ
> ous"
> /usr/ccs/bin/as: "/var/tmp/ccp27xMf.s", line 1263: error: statement
> syntax
> /usr/ccs/bin/as: "/var/tmp/ccp27xMf.s", line 2072: error: unknown opcode
> ".subse
> ction"
> /usr/ccs/bin/as: "/var/tmp/ccp27xMf.s", line 2072: error: statement
> syntax
> /usr/ccs/bin/as: "/var/tmp/ccp27xMf.s", line 2125: error: unknown opcode
> ".previ
> ous"
> /usr/ccs/bin/as: "/var/tmp/ccp27xMf.s", line 2125: error: statement
> syntax
> *** Error code 1
> make: Fatal error: Command failed for target `chalib.lo'
> Current working directory
> /wl81/home/namazu-installables/chasen-2.2.1/lib
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /wl81/home/namazu-installables/chasen-2.2.1
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive-am'
> #
>
>
> Can anyone please suggest me any solution to this problem ?
>
> Thanks in advance,
>
> Regards,
> Sourav