General TC > Programming & Scripting - Unofficial

Help: compile a opensource program on Coreplus

(1/3) > >>

lid:
Hi,

I am trying to compile a open source package on Coreplus. It's originally designed to run on Redhat/Centos/Fedora.
I downloaded the source and used tce-ab to install all the required extensions for development. Then I followed the package's instruction and did:

sh bootstrap.sh
./configure
make

But I can't even run make as there is no Makefile generated.  The last few lines from ./configure look like this:

./configure: line 5716: AC_DISABLE_STATIC: command not found
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
./configure: line 6449: LTOPTIONS_VERSION: command not found
./configure: line 6450: LTSUGAR_VERSION: command not found
./configure: line 6451: LTVERSION_VERSION: command not found
./configure: line 6452: LTOBSOLETE_VERSION: command not found
checking how to print strings... printf
./configure: line 6514: syntax error near unexpected token `lt_decl_varnames,'
./configure: line 6514: `lt_if_append_uniq(lt_decl_varnames, SHELL, , ,'

Can anyone tell me what's wrong?

Thanks.

Rich:
Hi lid
I don't think you've supplied enough information to determine what's wrong.
What are you trying to compile?
Did you install the  compiletc  extension?


--- Quote ---The last few lines from ./configure look like this: .....
--- End quote ---
More important are the very first errors encountered.

curaga:
Looks like libtool or libtool-dev is missing.

Juanito:
..or autoconf, automake, gettext, intltool...

lid:

--- Quote from: Juanito on September 25, 2014, 12:48:44 AM ---..or autoconf, automake, gettext, intltool...

--- End quote ---

The package's README file lists the following requirements:

  automake > 1.4                                               
  autoconf > 1.4                                               
  pkgconfig                                                 
  libtool                 
  gtk2-devel               
  openssl-devel >= 0.9.7   
  pthreads library (glibc-devel)


My coreplus build machine has:

automake
autoconf
libtool
gtk2
gtk2-dev
openssl-1.0.0
openssl-1.0.0-dev
glibc_add_lib
glibc_base-dev
pkg-config

It seems I already have everything needed.


Navigation

[0] Message Index

[#] Next page

Go to full version