Menu

#9 compile problems on SunOS 2.8

open
None
5
2001-05-11
2001-05-09
Anonymous
No

Hi

I tried running configure but I can't get past this at
all ... I don't re[tend to have enough expertise to
understand exactly what that is for so I'm not going to
try and modify configure without some guidance. Please
let me know if there is some kind of work-around or fix
for this.
I am on SunOS 5.8, sparc 64bit

Here is the error that configure keeps coming up with

checking type of array argument to getgroups... gid_t
checking whether getpgrp takes no argument...
configure: error: cannot check getpgrp if cross
compiling
#

Discussion

  • Werner G Krebs

    Werner G Krebs - 2001-05-11
    • assigned_to: nobody --> wkrebs
     
  • Werner G Krebs

    Werner G Krebs - 2001-05-11

    Logged In: YES
    user_id=32209

    I know about this bug but am not sure what to do about it.

    It occurs on some platforms as a result of the version of GNU Autoconf I'm using to build the release.

    What is happening is that ./configure thinks you are crossing-compiling the C++ (which is a weird thing to
    conclude, but this what this version of GNU Autoconf concludes.)
    It may be mitigated if a C++ compiler is present, i.e., install gcc if it is not there already.

    Another solution is to eliminate the C++ from the program (it is only used in queue_manager.) and then
    modify configure.in to inform it that C++ is not used.

     
  • Colin Smith

    Colin Smith - 2003-02-17

    Logged In: YES
    user_id=710586

    The configure script thinks that one of your compilers is a
    cross compiler. You probably have a compiler in your path
    and a linker from another development environment.

    i.e. gcc as the compiler and the native SunOS linker.

    Make sure you have the correct PATH set up and make sure you
    have the gcc binutils etc installed and being used.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.