Greetings, I'm new here after giving up on Zope.  I program PHP anyway. :-)

I am trying to get Midgard compiled under Solaris 8.

After getting past the requirement of having Expat (not mentioned in 
INSTALL),

The problem is: if I compile with Forte C compiler I get this:

#LDFLAGS='-L/usr/lib'; ./configure
<snip>
creating libtool
checking for ANSI C header files... yes
checking for working const... yes
checking for glib-config... /usr/local/bin/glib-config
checking for library containing crypt... no
configure: error: You need libcrypt

But I have it:
# ls /usr/lib/libcrypt*
/usr/lib/libcrypt.a       /usr/lib/libcrypt.so.1    /usr/lib/libcrypt_i.so
/usr/lib/libcrypt.so      /usr/lib/libcrypt_i.a     /usr/lib/libcrypt_i.so.1

Now, if I try compiling with gcc I get something else:

# ./configure
<snip>
creating midgard-configure

#make
<snip>
midgard.c: In function `mgd_log_debug_default':
midgard.c:63: warning: implicit declaration of function `flock'
midgard.c:63: `LOCK_EX' undeclared (first use in this function)
midgard.c:63: (Each undeclared identifier is reported only once
midgard.c:63: for each function it appears in.)
midgard.c:110: `LOCK_UN' undeclared (first use in this function)
midgard.c: In function `mgd_parse_log_levels':
midgard.c:126: warning: subscript has type `char'
midgard.c:145: warning: subscript has type `char'
make[1]: *** [midgard.lo] Error 1
make[1]: Leaving directory `/space/jprice/midgard/midgard-lib-1.4.3/src'
make: *** [all-recursive] Error 1

Can anyone help me get this going?

Thanks,
 Patrick Price
 West Virginia University


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to