"Christian Pinheiro" <[EMAIL PROTECTED]> writes:
> Hi Folks,
>
> I installed PerLDAP a lot of times on a Solaris box without any problems,
> but now I'm having trouble on a Linux box (which I thought would be easier).
> Following the version of my server, and the error:
>
> == LINUX ===
> Linux brcotia02.cidadei.com.br 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000
> i686 unknown
>
> == GMAKE ===
>
> GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
> Built for i386-redhat-linux-gnu
> Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
>
> ===C-SDK===
>
> 1375703 Mar 6 17:39 ldapsdk_12311998.tar.gz
>
> ================
>
> Well, now the error. After setting the environment variables, as the
> build.txt says, I get the following error:
>
> [root@brcotia02 /INST_PATH]# cd mozilla
> [root@brcotia02 mozilla]# gmake -f directory/ldapsdk.mk build
> cd config; gmake
> gmake[1]: Entering directory `/INST_PATH/mozilla/config'
> cd ../config/mkdetect; gmake
> gmake[2]: Entering directory `/INST_PATH/mozilla/config/mkdetect'
> Generating detect_brcotia02_gen.mk.
> gmake[2]: Leaving directory `/INST_PATH/mozilla/config/mkdetect'
> gmake[1]: Leaving directory `/INST_PATH/mozilla/config'
> gmake[1]: Entering directory `/INST_PATH/mozilla/config'
> ../config/mkdetect/detect_brcotia02_gen.mk:24: *** missing separator. Stop.
> gmake[1]: Leaving directory `/INST_PATH/mozilla/config'
> gmake: *** [build] Error 2
>
>
> =====
>
> When I look to the line 24 of this detect_brcotia02_gen.mk file, I see:
>
> MOZILLA_XFE_MOTIF_INCLUDE_FLAGS =
> Could not find <Xm/Xm.h> anywhere on your system. <<<== LINE 24
> MOZILLA_XFE_MOTIF_HAVE_STATIC_LIB = 1
> MOZILLA_XFE_MOTIF_STATIC_FLAGS =
> Could not find <Xm/Xm.h> anywhere on your system.
> MOZILLA_XFE_MOTIF_HAVE_DYNAMIC_LIB = 1
> MOZILLA_XFE_MOTIF_DYNAMIC_PATHS =
> Could not find <Xm/Xm.h> anywhere on your system.
> MOZILLA_XFE_MOTIF_DYNAMIC_FLAGS =
> Could not find <Xm/Xm.h> anywhere on your system.
>
> ========
>
> But I can't understand. It appears to be required to have MOTIF in my box,
> so why there is an detect_motif.sh on this SDK?
The CVS tip for the LDAP C SDK is messed up. Try checking out the
LDAPCSDK_40_BRANCH instead of the date tag mentioned on the web page.
Dan
--