Hi Folks,
Sorry to bother you folks with that trivial question.
the problem was sorted after uninstalling the higer
Solaris version GCC & using the correct version
regards
Sandy
--- sandeep rao <sandeepr_namazu(_at_)yahoo(_dot_)com> wrote:
Hi Folks,
I am trying to install the chasen, kakasi,
Text-Chasen, Text-kakasi, File-Mmagic, nkf171 &
namazu
modules on a Solaris2.6 machine. However after
extracting the tar files when I run make I am
encountering problems in the form of errors given
in
the attachet txt file.
Only the install of the file-mmagic is going
through
clean. One thing that I noticed is that the system
OS
is Sun Solaris2.6 however the GCC installed is
/gcc-lib/sparc-sun-solaris2.8/3.0/ i.e. for
Solaris2.8
could that be the possible reason for the errors? or
is there something else ? Any help is appreciated
thanks & regards
Sandy
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute
with Yahoo! Messenger
http://phonecard.yahoo.com/>
**************************On running make under
chasen-2.2.8:
.
.
.
chalib.c: In function `chasen_fparse_tostr':
chalib.c:588: `fp_in' undeclared (first use in this
function)
chalib.c: At top level:
chalib.c:617: parse error before "FILE"
chalib.c: In function `cha_fgets':
chalib.c:620: `s' undeclared (first use in this
function)
chalib.c:620: `n' undeclared (first use in this
function)
chalib.c:620: `fp' undeclared (first use in this
function)
make[2]: *** [chalib.lo] Error 1
make[2]: Leaving directory
`/opt/namazu-install/chasen-2.2.8/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/opt/namazu-install/chasen-2.2.8'
make: *** [all-recursive-am] Error 2
#
**************************On running make under
kakasi-2.2.8:
.
.
.
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0/include/stdio.h:285:
parse error before '*' token
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0/include/stdio.h:286:
parse error before "FILE"
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0/include/stdio.h:287:
parse error before '*' token
kakasi.c: In function `digest_out':
kakasi.c:192: warning: implicit declaration of
function `fflush'
kakasi.c:192: `stdout' undeclared (first use in this
function)
kakasi.c:192: (Each undeclared identifier is
reported only once
kakasi.c:192: for each function it appears in.)
kakasi.c: In function `main':
kakasi.c:421: warning: implicit declaration of
function `sprintf'
kakasi.c:446: warning: implicit declaration of
function `fprintf'
kakasi.c:446: `stderr' undeclared (first use in this
function)
kakasi.c:527: `stdout' undeclared (first use in this
function)
make[2]: *** [kakasi.o] Error 1
make[2]: Leaving directory
`/opt/namazu-install/kakasi-2.3.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/opt/namazu-install/kakasi-2.3.3'
make: *** [all-recursive-am] Error 2
#
**************************On running perl under
Text-ChaSen:
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for
-lchasen
Writing Makefile for Text::ChaSen
#
**************************On running make install
under Text-ChaSen:
.
.
.
usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/proto.h:909:
parse error before "FILE"
In file included from
/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/perl.h:2850,
from ChaSen.xs:13:
/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/intrpvar.h:197:
parse error before '*' token
/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/intrpvar.h:197:
warning: data definition has no type
or storage class
ChaSen.xs:28: parse error before "FILE"
ChaSen.xs:33: parse error before '*' token
ChaSen.xs:34: parse error before "FILE"
ChaSen.xs:36: parse error before '*' token
ChaSen.xs: In function
`XS_Text__ChaSen_fparse_tostr':
ChaSen.xs:90: `fp' undeclared (first use in this
function)
ChaSen.xs:90: (Each undeclared identifier is
reported only once
ChaSen.xs:90: for each function it appears in.)
make: *** [ChaSen.o] Error 1
#
**************************On running perl under
Text-kakasi:
# perl Makefile.PL
Checking if your kit is complete...
Looks good
Note (probably harmless): No library found for
-lkakasi
Writing Makefile for Text::Kakasi
#
**************************On running make install
under Text-kakasi:
.
.
.
.
/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/proto.h:908:
parse error before "FILE"
/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/proto.h:909:
parse error before "FILE"
In file included from
/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/perl.h:2850,
from Kakasi.xs:27:
/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/intrpvar.h:197:
parse error before '*' token
/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/intrpvar.h:197:
warning: data definition has no type
or storage class
Kakasi.xs:38:23: libkakasi.h:
?t?(_at_)?C???à?f?B???N?g???à? ?è?Ü?¹?ñ?B
Kakasi.xs: In function `XS_Text__Kakasi_do_kakasi':
Kakasi.xs:86: warning: assignment makes pointer from
integer without a cast
make: *** [Kakasi.o] Error 1
#
**************************On running make install
under File-MMAGIC:
# cd File-MMagic-1.13
# perl Makefile.PL
Writing Makefile for File::MMagic
# make install
Manifying blib/man3/File::MMagic.3
Installing /usr/local/man/man3/File::MMagic.3
Writing
/usr/local/lib/perl5/site_perl/5.6.1/sun4-solaris/auto/File/MMagic/.packlist
Appending installation info to
/usr/local/lib/perl5/5.6.1/sun4-solaris/perllocal.pod
#
**************************On running make install
under NKF171:
cp NKF.pm blib/lib/NKF.pm
/usr/local/bin/perl
-I/usr/local/lib/perl5/5.6.1/sun4-solaris
-I/usr/local/lib/perl5/5.6.1 /usr/l
ocal/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.6.1/ExtUtils/typemap NKF.xs
> NKF.xsc && mv NKF.xsc NKF.c
gcc -c -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O
-DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC
-I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE N
KF.c
In file included from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0/include/limits.h:11,
from
/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/perl.h:1127,
from NKF.xs:5:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0/include/syslimits.h:29:28:
iso/limits_iso.h: ?t?@
?C???à?f?B???N?g???à? ?è?Ü?¹?ñ?B
In file included from
/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/perlsdio.h:5,
from
/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/iperlsys.h:300,
from
/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/perl.h:1947,
from NKF.xs:5:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0/include/stdio.h:36:27:
iso/stdio_iso.h: ?t?(_at_)?C??
?à?f?B???N?g???à? ?è?Ü?¹?ñ?B
In file included from
/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/perlsdio.h:5,
from
/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/iperlsys.h:300,
from
/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/perl.h:1947,
from NKF.xs:5:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0/include/stdio.h:123:
parse error before "fpos64_t
"
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0/include/stdio.h:168:
parse error before '*' token
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0/include/stdio.h:169:
parse error before '*' token
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0/include/stdio.h:169:
parse
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/