WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Help: compile a opensource program on Coreplus  (Read 188 times)

Offline lid

  • Jr. Member
  • **
  • Posts: 59
Help: compile a opensource program on Coreplus
« on: September 24, 2014, 03:47:26 PM »
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.

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4230
Re: Help: compile a opensource program on Coreplus
« Reply #1 on: September 24, 2014, 05:42:16 PM »
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: .....
More important are the very first errors encountered.


Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 7877
Re: Help: compile a opensource program on Coreplus
« Reply #2 on: September 24, 2014, 11:32:09 PM »
Looks like libtool or libtool-dev is missing.
The only barriers that can stop you are the ones you create yourself.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 6410
Re: Help: compile a opensource program on Coreplus
« Reply #3 on: September 24, 2014, 11:48:44 PM »
..or autoconf, automake, gettext, intltool...

Offline lid

  • Jr. Member
  • **
  • Posts: 59
Re: Help: compile a opensource program on Coreplus
« Reply #4 on: September 26, 2014, 07:21:47 AM »
..or autoconf, automake, gettext, intltool...

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.



Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 6410
Re: Help: compile a opensource program on Coreplus
« Reply #5 on: September 26, 2014, 07:58:41 AM »
Did you load the compiletc, libtool-dev intltool and gettext-dev extensions?

What are you trying to compile?
« Last Edit: September 26, 2014, 08:27:17 AM by Juanito »

Offline lid

  • Jr. Member
  • **
  • Posts: 59
Re: Help: compile a opensource program on Coreplus
« Reply #6 on: September 26, 2014, 02:22:42 PM »
Did you load the compiletc, libtool-dev intltool and gettext-dev extensions?

What are you trying to compile?

Hey, you are right on! I didn't have  libtool-dev, intltool, gettext-dev. After installation of these,  my make got through OK!
Thanks!

Now next to the next challenge!

Offline lid

  • Jr. Member
  • **
  • Posts: 59
Re: Help: compile a opensource program on Coreplus
« Reply #7 on: September 30, 2014, 10:34:11 AM »
Did you load the compiletc, libtool-dev intltool and gettext-dev extensions?

What are you trying to compile?

Another question: Since I am done with compiling, I need to create an extension for testing. I understand I need mksquashfs but it doesn't exist on my Coreplus build machine. I did a search using tce-ab but nothing found.

What extension do I need to install to get this tool?


Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 3402
Re: Help: compile a opensource program on Coreplus
« Reply #8 on: September 30, 2014, 11:31:09 AM »
APPS provides function will find it for you.
squashfs-tools-4.x

Offline lid

  • Jr. Member
  • **
  • Posts: 59
Re: Help: compile a opensource program on Coreplus
« Reply #9 on: September 30, 2014, 01:21:40 PM »
APPS provides function will find it for you.
squashfs-tools-4.x

Thanks! It works for now.