Ad Widget

Collapse

syntax error in config script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tpyro
    Junior Member
    • Mar 2007
    • 8

    #1

    syntax error in config script

    I'm having trouble building the agent on an old Solaris 2.6 server. I get a couple of the "xxx.h: present but cannot be compiled" warnings then the whole thing dies with a syntax error:

    bash-3.2# ./configure --enable-agent
    [snip]
    checking resolv.h presence... yes
    configure: WARNING: resolv.h: present but cannot be compiled
    configure: WARNING: resolv.h: check for missing prerequisite headers?
    configure: WARNING: resolv.h: see the Autoconf documentation
    configure: WARNING: resolv.h: section "Present But Cannot Be Compiled"
    configure: WARNING: resolv.h: proceeding with the preprocessor's result
    configure: WARNING: resolv.h: in the future, the compiler will take precedence
    checking for resolv.h... yes
    [snip]
    checking net/if.h presence... yes
    configure: WARNING: net/if.h: present but cannot be compiled
    configure: WARNING: net/if.h: check for missing prerequisite headers?
    configure: WARNING: net/if.h: see the Autoconf documentation
    configure: WARNING: net/if.h: section "Present But Cannot Be Compiled"
    configure: WARNING: net/if.h: proceeding with the preprocessor's result
    configure: WARNING: net/if.h: in the future, the compiler will take precedence
    checking for net/if.h... yes
    [snip]
    checking for getopt_long... no
    ./configure: line 11130: syntax error near unexpected token `('
    ./configure: line 11130: ` for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do'
    bash-3.2# echo $?
    2
    bash-3.2#

    The log file config.log ends like this:


    ## ----------- ##
    ## confdefs.h. ##
    ## ----------- ##

    #define PACKAGE_NAME ""
    #define PACKAGE_TARNAME ""
    #define PACKAGE_VERSION ""
    [snip]
    #define HAVE_SNPRINTF 1
    #define HAVE_VSNPRINTF 1
    #define HAVE_ATOLL 1

    configure: exit 258

    I've attached the complete config.log. Let me know if there is anything more I can pull from the sever. Thanks!
    Attached Files
Working...