ltconfig problem in FreeBSD (5.1)

Tomas Sen
  • Tomas Sen

    Tomas Sen - 2003-06-12

    i got these error during ./configure

    checking for ext/session/php_session.h... yes
    checking build system type... i386-unknown-freebsdelf5.1
    checking host system type... i386-unknown-freebsdelf5.1
    checking for ranlib... ranlib
    checking for ld used by GCC... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking whether ln -s works... yes
    loading cache /dev/null within ltconfig
    ltconfig: you must specify a host type if you use `--no-verify'
    Try `ltconfig --help' for more information.
    configure: error: libtool configure failed

    any idea what's wrong ? ....

    • Forrest Aldrich

      Forrest Aldrich - 2003-06-13

      I have PHP-4.3.2 and Apache-1.2.27 installed. 

      Most everything else is up-to-date (FreeBSD-4.8).

      Here are the problems I see:

      ===>  Configuring for turck-mmcache-2.3.15
      configure: WARNING: you should use --build, --host, --target

      checking ext/session/php_session.h usability... no
      checking ext/session/php_session.h presence... yes
      configure: WARNING: ext/session/php_session.h: present but cannot be compiled
      configure: WARNING: ext/session/php_session.h: check for missing
      prerequisite headers?
      configure: WARNING: ext/session/php_session.h: proceeding with the
      preprocessor's result

      cc: unrecognized option `-prefer-pic'

      Any clues about how to fix this?

      I emailed the FreeBSD port maintainer, and freebsd-ports, but no replies.


    • Anonymous - 2003-06-17

      Not sure of the actual resolution to the problem, but if you build from the latest copy of the FreeBSD port in CVS, it will get past this and produce a working .so.


    • Lowkee

      Lowkee - 2004-09-28

      Easy fix for this error:

      edit the configure file and remove '--no-verify' from it (it is in the middle of a line, just remove --no-verify and nothing else!
      (backup your configure file 1st, just in case)

      save the configure.

      touch config.cache
      ./configure --cache-file=config.cache

      That should do it, no more errors!



Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks