Error during configure

Help
Anonymous
2003-02-11
2003-02-11
  • Anonymous - 2003-02-11

    Hi guys.  I'm trying to install wvware on a Verio VPS running FreeBSD 4.0.  I had to install libiconv because it wasn't installed.  Now when I try to configure wvware i get the following error :

    checking for iconv.h... yes
    checking for iconv_open in -liconv... no
    checking for libiconv_open in -liconv... no
    configure: error: * * * I found iconv.h header but no working library! * * *

    iconv is definitely installed correctly, because I recompiled gettext and it found iconv with no problems.  Any ideas??

     
    • Francis James Franklin

      At the risk of being obvious... please delete wv/config.cache and try again. If it still fails, please check wv/config.log for the real error message.

       
    • Anonymous - 2003-02-11

      Yes, I had been deleting the config.cache file before every attempt. 

      This is my configure line :
      ./configure --prefix=/usr/home/sitename --with-libiconv=/usr/home/sitename/usr/src/libiconv-1.8

      And here is the end of the config.log file :

      configure:2218: checking for glib12-config
      configure:2292: checking for glib-config
      configure:2399: checking for gnome-config
      configure:2899: checking for iconv.h
      configure:2909: gcc -E  -I/usr/home/cambium/usr/src/libiconv-1.8/include confte
      configure:2927: checking for iconv_open in -liconv
      configure:2946: gcc -o conftest -g -O2  -I/usr/home/cambium/usr/src/libiconv-1.
      /usr/libexec/elf/ld: cannot find -liconv
      configure: failed program was:
      #line 2935 "configure"
      #include "confdefs.h"
      /* Override any gcc2 internal prototype to avoid an error.  */
      /* We use char because int might match the return type of a gcc2
          builtin and then its argument prototype would still apply.  */
      char iconv_open();

      int main() {
      iconv_open()
      ; return 0; }
      configure:2967: checking for libiconv_open in -liconv
      configure:2986: gcc -o conftest -g -O2  -I/usr/home/cambium/usr/src/libiconv-1.
      /usr/libexec/elf/ld: cannot find -liconv
      configure: failed program was:
      #line 2975 "configure"
      #include "confdefs.h"
      /* Override any gcc2 internal prototype to avoid an error.  */
      /* We use char because int might match the return type of a gcc2
          builtin and then its argument prototype would still apply.  */
      char libiconv_open();

      int main() {
      libiconv_open()
      ; return 0; }

       
    • Francis James Franklin

      Half your message isn't there, but would I be wrong in thinking you have specified the location of the libiconv source? Or did you really install libiconv in /usr/home/cambium/usr/src/libiconv-1.8 ?

      If you installed libiconv in /usr/home/cambium/usr then please try:

      ./configure --with-libiconv=/usr/home/cambium/usr

      or wherever.

       
    • Anonymous - 2003-02-11

      ok, despite the fact that I'd tried that 15 bazillion times, I tried again...and you know what, it got through the configure.  It did give me a warning at the end that it wouldn't have WMF to PNG support, which I knew already.  However, when I run Make, I get this :

      "Makefile", line 90: Missing dependency operator
      "Makefile", line 92: Need an operator
      "Makefile", line 94: Need an operator
      "Makefile", line 100: Missing dependency operator
      "Makefile", line 102: Need an operator
      "Makefile", line 104: Missing dependency operator
      "Makefile", line 106: Need an operator
      "Makefile", line 205: Need an operator
      "Makefile", line 259: Need an operator
      "Makefile", line 261: Need an operator
      "Makefile", line 268: Missing dependency operator
      "Makefile", line 270: Need an operator
      "Makefile", line 272: Missing dependency operator
      "Makefile", line 281: Need an operator
      "Makefile", line 285: Missing dependency operator
      "Makefile", line 290: Need an operator
      "Makefile", line 292: Need an operator
      "Makefile", line 294: Missing dependency operator
      "Makefile", line 296: Need an operator
      "Makefile", line 303: Need an operator
      "Makefile", line 305: Missing dependency operator
      "Makefile", line 307: Need an operator
      "Makefile", line 309: Need an operator
      "Makefile", line 373: Missing dependency operator
      "Makefile", line 377: Need an operator
      "Makefile", line 380: Need an operator
      "Makefile", line 386: Missing dependency operator
      "Makefile", line 390: Need an operator
      "Makefile", line 393: Need an operator
      make: fatal errors encountered -- cannot continue

      Line 90 of the makefile is this :

      ifeq ($(EPATH_DYLIB),1)

      Any ideas??

       
    • Francis James Franklin

      please try GNU make (a.k.a. "gmake")

       
    • Anonymous - 2003-02-11

      Success!  Thank you so much for all of your help, you saved me $100 to get Verio to compile it for me. 

      Thanks again

       

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

Sign up for the SourceForge newsletter:





No, thanks