Menu

configure error

Help
Joan Foo
2002-10-09
2002-10-09
  • Joan Foo

    Joan Foo - 2002-10-09

    Hi,
    I am trying to install in a Solaris machine and i get an error message:

    checking for executable suffix... configure: error: installation or configuration problem: compiler cannot create executables.

    The config.log file contains this:

    This file contains any messages produced by compilers while
    running configure, to aid debugging if configure makes a mistake.

    configure:554: checking for Cygwin environment
    configure:570: cc -c   conftest.c 1>&5
    /usr/ucb/cc:  language optional software package not installed
    configure: failed program was:
    #line 559 "configure"
    #include "confdefs.h"

    int main() {

    #ifndef __CYGWIN__
    #define __CYGWIN__ __CYGWIN32__
    #endif
    return __CYGWIN__;
    ; return 0; }
    configure:587: checking for mingw32 environment
    configure:599: cc -c   conftest.c 1>&5
    /usr/ucb/cc:  language optional software package not installed
    configure: failed program was:
    #line 592 "configure"
    #include "confdefs.h"

    int main() {
    return __MINGW32__;
    ; return 0; }
    configure:618: checking for executable suffix
    configure:628: cc -o conftest    conftest.c  1>&5
    /usr/ucb/cc:  language optional software package not installed

    What's wrong and what can i do to fix it?
    Thanks a lot in advance.

     
    • Francis James Franklin

      Sun's bundled cc isn't very usable. Try this:

      CC=gcc ./configure ...

      Frank

       
    • Joan Foo

      Joan Foo - 2002-10-09

      I tryied that, but i got:
      > CC=gcc ./configure
      CC=gcc: Command not found

       
    • Francis James Franklin

      damn. nasty csh. hmm... k, try:

      setenv CC gcc
      ./configure ...

      Frank

      ps. Just out of curiosity, is Foo your real surname? - or just a geeky-cool attempt at anonymity?

       
    • Joan Foo

      Joan Foo - 2002-10-09

      Thanks a lot, that helped.
      Manage to compile and install, but when i try to convert something i get:
      > wvText temp.doc temp.txt
      wvText: lynx: not found
      Could not convert into Text

       
    • Francis James Franklin

      lynx is a text-based web-browser. If you don't have it, maybe you can use wvCleanLatex instead of wvText?

       
    • Joan Foo

      Joan Foo - 2002-10-09

      I didn't realilize it was necessary to have lynx for the wvText. In the web site it says "wvText:  converts word to plain text. Textually correct output requires 'lynx.' For poor output, this doesn't require anything special."
      I don't care about correct output, I just need to get the docs into plain text. With wvCleanLaTex can I do this?

       
    • Francis James Franklin

      I'm told: "there is a wvText.xml that you can use explicitly (wvWare -x xml/wvText.xml) or if it can't find lynx, it *should* use it automatically. wvText w/o lynx results in just a dump of your document to text, though. formatting is not preserved."

      As for wvCleanLatex, you are the best judge of how useful it is...

       
    • Joan Foo

      Joan Foo - 2002-10-09

      wvCleanLatex produces complete useless output for me, so i'm back with the wvText...
      How do i force it to use the wvText.xml?
      Thanks again

       
    • Francis James Franklin

      Probably easiest to edit wvText and change the following line:

      USING_LYNX=1

      to

      USING_LYNX=0

      Frank

       

Log in to post a comment.