Compiling automake-1.15 in Solaris 10 SPARC

Hi there.

I have unzipped automake-1.15.tar.gz into a directory on my HDD that has Solaris 10 SPARC OS installed inside a SUN/Oracle SPARC server.
I can configure automake-1.15 successfully but when I try to compile automake-1.15 using 'make command, I have the following error message..

 # gmake 

"/export/home/Repo/automake-1.15/t/wrap/aclocal-1.15" 
Can't locate /export/home/Repo/automake-1.15/bin/aclocal in @INC (@INC contains: /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at /export/home/Repo/automake-1.15/t/wrap/aclocal-1.15 line 29.
gmake: *** [aclocal.m4] Error 2

I dont know how to resolve this problem. What shall I do next?

thanks

"/export/home/Repo/automake-1.15/t/wrap/aclocal-1.15" 
Can't locate /export/home/Repo/automake-1.15/bin/aclocal in @INC 
(@INC contains: 
/usr/perl5/5.8.4/lib/sun4-solaris-64int 
/usr/perl5/5.8.4/lib
/usr/perl5/site_perl/5.8.4/sun4-solaris-64int 
/usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl 
/usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int
 /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) 
at /export/home/Repo/automake-1.15/t/wrap/aclocal-1.15 line 29.

Seems like you might be missing /export/home/Repo/automake-1.15/bin/aclocal in your list of included directories.

Is that how you read the error message?

I have tried to research this and I do know that @INC has something to so with PERL5 . But I dont know what I should do next.

I do have Perl584 installed as standard on Solaris 10 SPARC OS, I know that but how do I include the directory

/export/home/Repo/automake-1.15/bin/aclocal
into @INC. I am stuck

I have also tried to add the following line into the file ../export/home/Repo/automake-1.15/t/wrap/aclocal-1.15
after the BEGIN statement

push (@INC,'/export/home/Repo/automake-1.15/bin');

but It still doesnt succeed. I get the following error

(@INC contains:  /usr/perl5/5.8.4/lib/sun4-solaris-64int
 /usr/perl5/5.8.4/lib 
 /usr/perl5/site_perl/5.8.4/sun4-solaris-64int 
 /usr/perl5/site_perl/5.8.4 
 /usr/perl5/site_perl 
 /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int 
 /usr/perl5/vendor_perl/5.8.4 
 /usr/perl5/vendor_perl .
 /export/home/Repo/automake-1.15/bin/)  at /export/home/Repo/automake-1.15/t/wrap/aclocal-1.15 line 29.

What else can I do?

OK I found out that for some reason the ./configure process did not write the files aclocal and automake to the ./bin/ directory :frowning:
I had to edit the aclocal.in and automake.in files so the gmake compiler would pick up the aclocal file.

The gmake compiler has now done this successfully and has also picked up the modules in director./lib/Automake/ successfully. However now I have come across another problem on my terminal. Here it is

CDPATH="${ZSH_VERSION+.}:" && "/export/home/Repo/automake-1.15/t/wrap/aclocal-1.15" 
called too early to check prototype at /export/home/Repo/automake-1.15/bin/aclocal line 525
'@am_AUTOM4TE@: not found
 gmake: *** [aclocal.m4] Error 1

What do I do next. Is it worth me uploading my aclocal file here for examination?

--- Post updated at 02:03 PM ---

By the way my system has Perl5.8.7 installed into /usr/local/ (an upgrade from perl5.8.4 installed as Standard by Solaris 10 SPARC OS during Solaris 10 installation.

1 Like