"John Padula" <[EMAIL PROTECTED]> wrote:
> I saw a posting a few weeks back about a problem with the configure
> script and $PGROOT not being properly defined.
Some of that was fixed, but not all.
> I just grabbed the latest (09/10) TAR file and configure seems to still
> be dying=20
> right around that spot (where it says "checking for PostgreSQL
> includes").
>
> Was a fix ever installed?
A partial fix. I think there's a one-line fix to make it work, but
I don't have PostgreSQL installed on my Solaris machines, so I can't
really verify it.
> Also, are there known issues with the Solaris CC compiler? I used gcc
> on one machine and the 0.2 release compiled fine. I then used CC on
> another machine (same release) and I got a lot of complaints (e.g.:
I haven't heard of any issues with the Solaris CC.
> cc -g -mt -D_REENTRANT -DNDEBUG -D_LIBRADIUS -I../include -c radius.c
> "radius.c", line 341: warning: argument #5 is incompatible with
> prototype:
> prototype: pointer to const struct sockaddr {unsigned short
> sa_family, array[14] of char sa_data} : "/usr/include/sys/socket.h",
> line 454
> argument : pointer to struct sockaddr_in {unsigned short
> sin_family, unsigned short sin_port, struct in_addr {..} sin_addr,
> array[8] of char sin_zero}
Hmm... It's fairly clear about *why* it's complaining, and I do
agree that there *may* be a problem there.
But no other system seems to care. And line 341 of radius.c does't
appear to have *anything* to do with struct sockaddr.
> The compile ultimately failed with=20
>
> cc -g -mt -D_REENTRANT -DNDEBUG -I../../include -c rlm_counter.c -o
> rlm_counter.o
> "rlm_counter.c", line 37: cannot find include file: <gdbm.h>
> "rlm_counter.c", line 71: syntax error before or at: GDBM_FILE
> "rlm_counter.c", line 71: cannot recover from previous errors
> cc: acomp failed for rlm_counter.c
>
> so I wasn't sure how much of this was complier (versus config) related..
If the 'configure' script found gdbm.h, then the compile should,
too.
Of course, if you use 'gcc' when running 'configure', and 'cc' for
the compile, then that would explain some inconsistencies.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html