Tracker: Support Requests

5 compile problems on SunOS 2.8 - ID: 422503
Last Update: Comment added ( colinsmith )

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
#


Nobody/Anonymous ( nobody ) - 2001-05-08 17:06:09 PDT

5

Open

None

Werner G Krebs

None

None

Public


Comments ( 2 )

Date: 2003-02-17 07:10:59 PST
Sender: colinsmith

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.




Date: 2001-05-11 15:32:39 PDT
Sender: wkrebsProject Admin

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.


Attached File

No Files Currently Attached

Change ( 1 )

Field Old Value Date By
assigned_to nobody 2001-05-11 15:32:39 PDT wkrebs