Autoconf and Automake

Where and what changes do i need to make inorder to compile an
application on QNX. ./configure fails suggesting it did found unkown
host(QNX) in this case.

One of the URL’s on qdn.qnx.com suggested using automake and then
autoconf, but that did not help much.
Thanks for your help.
Prakash

Prakash Manghwani <pmanghwa@bbn.com> wrote:

Where and what changes do i need to make inorder to compile an
application on QNX. ./configure fails suggesting it did found unkown
host(QNX) in this case.

One of the URL’s on qdn.qnx.com suggested using automake and then
autoconf, but that did not help much.

Try to install the “libtool” package from QNX repository.
Then copy “/usr/share/libtool/config.*” to your project directory,
and do a ./configure again.

-xtang

Once you have the libtool package installed, try:

libtoolize --copy --force

Then ./configure

Xiaodan Tang <xtang@qnx.com> wrote:

Prakash Manghwani <> pmanghwa@bbn.com> > wrote:
Where and what changes do i need to make inorder to compile an
application on QNX. ./configure fails suggesting it did found unkown
host(QNX) in this case.

One of the URL’s on qdn.qnx.com suggested using automake and then
autoconf, but that did not help much.

Try to install the “libtool” package from QNX repository.
Then copy “/usr/share/libtool/config.*” to your project directory,
and do a ./configure again.

-xtang

Prakash Manghwani <pmanghwa@bbn.com> wrote:
: Where and what changes do i need to make inorder to compile an
: application on QNX. ./configure fails suggesting it did found unkown
: host(QNX) in this case.

: One of the URL’s on qdn.qnx.com suggested using automake and then
: autoconf, but that did not help much.
: Thanks for your help.
: Prakash

Get the new config.{guess,sub} from the master directory at gnu.

ftp://ftp.gnu.org/gnu/config


I thought I’ve answer that question ???
maybe my newsreader is playing tricks.

\

au revoir, alain

Aussi haut que l’on soit assis, on n’est toujours assis que sur son cul !!!

Where do these files belong? Do they go in the project directory, or can the go into something like /usr/local/lib ?

Previously, Alain Magloire wrote in qdn.public.porting:

Prakash Manghwani <> pmanghwa@bbn.com> > wrote:
: Where and what changes do i need to make inorder to compile an
: application on QNX. ./configure fails suggesting it did found unkown
: host(QNX) in this case.

: One of the URL’s on qdn.qnx.com suggested using automake and then
: autoconf, but that did not help much.
: Thanks for your help.
: Prakash

Get the new config.{guess,sub} from the master directory at gnu.

ftp://ftp.gnu.org/gnu/config


I thought I’ve answer that question ???
maybe my newsreader is playing tricks.

\

au revoir, alain

Aussi haut que l’on soit assis, on n’est toujours assis que sur son cul !!!


David L. Hawley D.L. Hawley and Associates

They go in your project directory, replacing the ones that were
originally there.

David Hawley <David.L.Hawley@computer.org> wrote:

Where do these files belong? Do they go in the project directory, or can the go into something like /usr/local/lib ?

Previously, Alain Magloire wrote in qdn.public.porting:
Prakash Manghwani <> pmanghwa@bbn.com> > wrote:
: Where and what changes do i need to make inorder to compile an
: application on QNX. ./configure fails suggesting it did found unkown
: host(QNX) in this case.

: One of the URL’s on qdn.qnx.com suggested using automake and then
: autoconf, but that did not help much.
: Thanks for your help.
: Prakash

Get the new config.{guess,sub} from the master directory at gnu.

ftp://ftp.gnu.org/gnu/config


I thought I’ve answer that question ???
maybe my newsreader is playing tricks.

\

au revoir, alain

Aussi haut que l’on soit assis, on n’est toujours assis que sur son cul !!!

\

David L. Hawley D.L. Hawley and Associates

here is my 2 penny :wink: There are “autoconf” projects, which have those
files in subdirectories, so if one has subdirectories, he/she should
walk through all subdirectories and change all those
config.{guess,sub}…

jamesm@qnx.com wrote:

They go in your project directory, replacing the ones that were
originally there.

David Hawley <> David.L.Hawley@computer.org> > wrote:
Where do these files belong? Do they go in the project directory, or can the go into something like /usr/local/lib ?

Previously, Alain Magloire wrote in qdn.public.porting:
Prakash Manghwani <> pmanghwa@bbn.com> > wrote:
: Where and what changes do i need to make inorder to compile an
: application on QNX. ./configure fails suggesting it did found unkown
: host(QNX) in this case.

: One of the URL’s on qdn.qnx.com suggested using automake and then
: autoconf, but that did not help much.
: Thanks for your help.
: Prakash

Get the new config.{guess,sub} from the master directory at gnu.

ftp://ftp.gnu.org/gnu/config


I thought I’ve answer that question ???
maybe my newsreader is playing tricks.

\

au revoir, alain

Aussi haut que l’on soit assis, on n’est toujours assis que sur son cul !!!

\

David L. Hawley D.L. Hawley and Associates


BR, Andrej

David Hawley <David.L.Hawley@computer.org> wrote:
: Where do these files belong?

If you are porting an application that uses configure.
You should use them instead of the one that comes with the applications.
Simply when the package was made, the config.{guess,sub} did not have
the bits that describe QNX platform.

: Do they go in the project directory, or can the go into something like /usr/local/lib ?

If you are making a package and you are using autoconf i.e. autoconfiscating
configure.in when you have the macros
AC_CANONICAL_HOST' AC_CHECK_TOOL’
will make autoconf put in your package config.{sub,guess}/
Then you should put the new files where ever you install the autoconf sensitive
files. it is usually /usr/local/share/automake.

The config.{sub,guess} files are no longer maintain by of autoconf nor automake
nor libtool, although they all come with a version. Since config.guess
and .sub change so rapidily, they are instead maintain at a central
place ftp.gnu.org/gnu/config/ and mirrors where they are updated every
so often.

Later,


au revoir, alain

Aussi haut que l’on soit assis, on n’est toujours assis que sur son cul !!!

I tried to find the “libtool” package referenced below in QNX’s web site
but couldn’t find it. Could someone tell me where it is??

-Carlos

Xiaodan Tang wrote:

Try to install the “libtool” package from QNX repository.
Then copy “/usr/share/libtool/config.*” to your project directory,
and do a ./configure again.

-xtang

open pkg manager … connect to “www repository” & find “libtool” …
(install :slight_smile: )

Carlos Ramirez wrote:

I tried to find the “libtool” package referenced below in QNX’s web site
but couldn’t find it. Could someone tell me where it is??

-Carlos

Xiaodan Tang wrote:

Try to install the “libtool” package from QNX repository.
Then copy “/usr/share/libtool/config.*” to your project directory,
and do a ./configure again.

-xtang