Date: Sat, 05 Apr 2003 15:00:17 -0500 (EST) From: Andy Harrison <ah54@httpsite.com> To: freebsd-questions@freebsd.org Subject: Fwd: Re: [Directoryadmin-list] compile trouble Message-ID: <XFMail.20030405150017.ah54@httpsite.com> Resent-Message-ID: <3E8F1D05.605@usm.edu.ec>
next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- I was wondering if any of you guys could help this guy out. I tried to download and compile his app and it didn't go so smoothly. He ask me a question about detecting freebsd that I couldn't answer. Anyone know a way he could accomplish this? Thanx! - -- Andy ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Forwarded Message: "Re: [Directoryadmin-list] compile trouble" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Date: Sat, 05 Apr 2003 13:14:29 -0500 Sender: directoryadmin-list-admin@lists.sourceforge.net From: "Manuel Amador (Rudd-O)" <amadorm@usm.edu.ec> To: directoryadmin-list@lists.sourceforge.net Subject: Re: [Directoryadmin-list] compile trouble Help me out. Find in your /usr/include a file called crypt.h. Please also find a file called des.h. AFAIK, your BSD works with DES instead of Crypt. You might get it to compile by changing crypt.h to des.h, but that's not the clean solution. I'm interested in having DA compile flawlessly on the BSDs. Do you know of some compile #DEFINE i can use to detect your BSD system and use DES instead of crypt? Another of my concerns using DA in a mixed BSD/Linux environment is that the BSDs would use DES to generate the password hash, while Linux would use Crypt, and hence the directory server might not authenticate some clients. Two conclusions: help me find a #DEFINE to detect your operating system and use des.h (if the BSDs have it). And, when in DA, use MD5 passwords. luck, Manuel Amador Andy Harrison wrote: >-----BEGIN PGP SIGNED MESSAGE----- > >Anyone else having compile trouble? Just downloaded the latest version and >tried it and getting these results. > >Running freebsd 5, openldap20-2.0.25_3, gnomelibs-1.4.2_1. > > ># make clean >Making clean in src >test -z "directory_administrator" || rm -f directory_administrator >rm -f *.o core *.core >Making clean in macros >Making clean in . > ># ./configure >checking for a BSD-compatible install... /usr/bin/install -c >checking whether build environment is sane... yes >checking for gawk... no >checking for mawk... no >checking for nawk... nawk >checking whether make sets ${MAKE}... yes >checking for gnome-config... /usr/X11R6/bin/gnome-config >checking if /usr/X11R6/bin/gnome-config works... yes >checking for orbit-config... no >checking for orbit-idl... no >checking for working ORBit environment... no >checking for gnorba libraries... no >checking for style of include used by make... GNU >checking for gcc... gcc >checking for C compiler default output... a.out >checking whether the C compiler works... yes >checking whether we are cross compiling... no >checking for suffix of executables... >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether gcc accepts -g... yes >checking dependency style of gcc... gcc3 >checking for strerror in -lcposix... no >checking for gcc... (cached) gcc >checking whether we are using the GNU C compiler... (cached) yes >checking whether gcc accepts -g... (cached) yes >checking dependency style of gcc... (cached) gcc3 >checking for gcc option to accept ANSI C... none needed >checking how to run the C preprocessor... gcc -E >checking for ANSI C header files... yes >checking what warning flags to pass to the C compiler... -Wall -Wunused >checking what language compliance flags to pass to the C compiler... >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking for pthread_create in -lpthread... no >checking for pthread_create in -lpthreads... no >checking for pthread_create in -lc_r... yes >checking for gtk-config... /usr/X11R6/bin/gtk-config >checking for GTK - version >= 1.2.0... yes >checking for SmcSaveYourselfDone in -lSM... yes >checking X11/SM/SMlib.h usability... yes >checking X11/SM/SMlib.h presence... yes >checking for X11/SM/SMlib.h... yes >checking for XpmFreeXpmImage in -lXpm... yes >configure: creating ./config.status >config.status: creating Makefile >config.status: creating macros/Makefile >config.status: creating src/Makefile >config.status: creating config.h >config.status: config.h is unchanged >config.status: executing depfiles commands > >#make >make all-recursive >Making all in macros >Making all in src >source='main.c' object='main.o' libtool=no depfile='.deps/main.Po' >tmpdepfile='.deps/main.TPo' depmode=gcc3 /bin/bash ../depcomp gcc >- -DHAVE_CONFIG_H -I. >- -I. -I.. -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include >- -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include >- -I/usr/local/include/glib12 -I/usr/lo >cal/include/orbit-1.0 -I/usr/local/include -I/usr/X11R6/include/gtk12 >- -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include >- -I/usr/X >11R6/include -g -O2 -Wall -Wunused -c `test -f 'main.c' || echo './'`main.c >source='support.c' object='support.o' libtool=no depfile='.deps/support.Po' >tmpdepfile='.deps/support.TPo' depmode=gcc3 /bin/bash ../depcomp gcc -DHAVE_C >ONFIG_H -I. -I. -I.. -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include >- -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include >- -I/usr/local/include/glib >12 -I/usr/local/include/orbit-1.0 -I/usr/local/include >- -I/usr/X11R6/include/gtk12 -I/usr/X11R6/include/gtk12 >- -I/usr/local/include/glib12 -I/usr/local/incl >ude -I/usr/X11R6/include -g -O2 -Wall -Wunused -c `test -f 'support.c' || echo >'./'`support.c >source='profile.c' object='profile.o' libtool=no depfile='.deps/profile.Po' >tmpdepfile='.deps/profile.TPo' depmode=gcc3 /bin/bash ../depcomp gcc -DHAVE_C >ONFIG_H -I. -I. -I.. -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include >- -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include >- -I/usr/local/include/glib >12 -I/usr/local/include/orbit-1.0 -I/usr/local/include >- -I/usr/X11R6/include/gtk12 -I/usr/X11R6/include/gtk12 >- -I/usr/local/include/glib12 -I/usr/local/incl >ude -I/usr/X11R6/include -g -O2 -Wall -Wunused -c `test -f 'profile.c' || echo >'./'`profile.c >profile.c: In function `connection_profile_connect': >profile.c:253: warning: unused variable `value_collection' >profile.c:254: warning: unused variable `oc_collection' >profile.c:255: warning: unused variable `oc_iterator' >source='interface.c' object='interface.o' libtool=no >depfile='.deps/interface.Po' tmpdepfile='.deps/interface.TPo' depmode=gcc3 >/bin/bash ../depcomp gcc >- -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include/gnome-1.0 >- -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H - -I/usr/X11R6/lib/gnome-libs/include >- -I/usr/local/incl >ude/glib12 -I/usr/local/include/orbit-1.0 -I/usr/local/include >- -I/usr/X11R6/include/gtk12 -I/usr/X11R6/include/gtk12 >- -I/usr/local/include/glib12 -I/usr/lo >cal/include -I/usr/X11R6/include -g -O2 -Wall -Wunused -c `test -f >'interface.c' || echo './'`interface.c >source='md4.c' object='md4.o' libtool=no depfile='.deps/md4.Po' >tmpdepfile='.deps/md4.TPo' depmode=gcc3 /bin/bash ../depcomp gcc >- -DHAVE_CONFIG_H -I. -I. >- -I.. -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include - -DNEED_GNOMESUPPORT_H >- -I/usr/X11R6/lib/gnome-libs/include -I/usr/local/include/glib12 -I/usr/local/ >include/orbit-1.0 -I/usr/local/include -I/usr/X11R6/include/gtk12 >- -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include >- -I/usr/X11R6 >/include -g -O2 -Wall -Wunused -c `test -f 'md4.c' || echo './'`md4.c >md4.c: In function `mdfour': >md4.c:144: warning: implicit declaration of function `memcpy' >source='smbdes.c' object='smbdes.o' libtool=no depfile='.deps/smbdes.Po' >tmpdepfile='.deps/smbdes.TPo' depmode=gcc3 /bin/bash ../depcomp gcc >- -DHAVE_CONFI >G_H -I. -I. -I.. -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include >- -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include >- -I/usr/local/include/glib12 - >I/usr/local/include/orbit-1.0 -I/usr/local/include -I/usr/X11R6/include/gtk12 >- -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include >- -I/usr/X11R6/include -g -O2 -Wall -Wunused -c `test -f 'smbdes.c' || echo >'./'`smbdes.c >source='mkntpwd.c' object='mkntpwd.o' libtool=no depfile='.deps/mkntpwd.Po' >tmpdepfile='.deps/mkntpwd.TPo' depmode=gcc3 /bin/bash ../depcomp gcc -DHAVE_C >ONFIG_H -I. -I. -I.. -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include >- -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include >- -I/usr/local/include/glib >12 -I/usr/local/include/orbit-1.0 -I/usr/local/include >- -I/usr/X11R6/include/gtk12 -I/usr/X11R6/include/gtk12 >- -I/usr/local/include/glib12 -I/usr/local/incl >ude -I/usr/X11R6/include -g -O2 -Wall -Wunused -c `test -f 'mkntpwd.c' || echo >'./'`mkntpwd.c >source='md5.c' object='md5.o' libtool=no depfile='.deps/md5.Po' >tmpdepfile='.deps/md5.TPo' depmode=gcc3 /bin/bash ../depcomp gcc >- -DHAVE_CONFIG_H -I. -I. >- -I.. -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include - -DNEED_GNOMESUPPORT_H >- -I/usr/X11R6/lib/gnome-libs/include -I/usr/local/include/glib12 -I/usr/local/ >include/orbit-1.0 -I/usr/local/include -I/usr/X11R6/include/gtk12 >- -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include >- -I/usr/X11R6 >/include -g -O2 -Wall -Wunused -c `test -f 'md5.c' || echo './'`md5.c >source='users.c' object='users.o' libtool=no depfile='.deps/users.Po' >tmpdepfile='.deps/users.TPo' depmode=gcc3 /bin/bash ../depcomp gcc >- -DHAVE_CONFIG_H >- -I. -I. -I.. -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include >- -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include >- -I/usr/local/include/glib12 -I/us >r/local/include/orbit-1.0 -I/usr/local/include -I/usr/X11R6/include/gtk12 >- -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include - -I/u >sr/X11R6/include -g -O2 -Wall -Wunused -c `test -f 'users.c' || echo >'./'`users.c >users.c:30:19: crypt.h: No such file or directory >users.c: In function `diradmin_user_set_password': >users.c:357: warning: implicit declaration of function `mklmhash' >users.c:358: warning: implicit declaration of function `to_hexstr' >users.c:361: warning: implicit declaration of function `mknthash' >users.c:370: warning: long int format, int arg (arg 4) >users.c:370: warning: long int format, int arg (arg 4) >users.c: In function `diradmin_user_new_from_ldap': >users.c:491: warning: implicit declaration of function `diradmin_user_dump' >users.c: At top level: >users.c:699: warning: type mismatch with previous implicit declaration >users.c:491: warning: previous implicit declaration of `diradmin_user_dump' >users.c:699: warning: `diradmin_user_dump' was previously implicitly declared >to return `int' >users.c: In function `create_user_struct_from_dialogbox': >users.c:1051: warning: long int format, int arg (arg 4) >users.c:1051: warning: long int format, int arg (arg 4) >*** Error code 1 > >Stop in /usr/download/directory_administrator-1.3.5/src. >*** Error code 1 > >Stop in /usr/download/directory_administrator-1.3.5. >*** Error code 1 > > >Stop in /usr/download/directory_administrator-1.3.5. > > > >~~ >Andy Harrison >ah##@httpsite.com >ICQ: 123472 AIM/Y!: AHinMaine >[full headers for details] > >-----BEGIN PGP SIGNATURE----- >Version: PGP 6.5.8 > >iQCVAwUBPo8ZT1PEkLgodAWVAQElswP/ebTFa/jEJMfa14wyG8CLvd0LKcw8tfQl >LUcJOmlibuhlHxLL3vLUA8DNlJQ9zg9zdg0mVIykyV98xRt0O4KwfzK0qGKUHukC >ZIrh7bdMePZBoaxigC8RcwOw5T7+WNValdzWa62LAoptT/0+h/11blrM3zqQ/Leo >PLSK4QJ81RU= >=D/xe >-----END PGP SIGNATURE----- > > >------------------------------------------------------- >This SF.net email is sponsored by: ValueWeb: >Dedicated Hosting for just $79/mo with 500 GB of bandwidth! >No other company gives more support or power for your dedicated server >http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ >_______________________________________________ >Directoryadmin-list mailing list >Directoryadmin-list@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/directoryadmin-list > > - ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Directoryadmin-list mailing list Directoryadmin-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/directoryadmin-list - --------------End of forwarded message------------------------- -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQCVAwUBPo810FPEkLgodAWVAQHSPAP8DZpRQR/fYZWkZYMUECelUc/sk92YlctW FIivhh4wWhCORRz4InOmgQmmURn31lvcnxX2vj8tbfpMjMetho2JzLvZ9AxVpklr y4rcwqiSrvJ/CthMWv3tgirqn/C6lfK2GeCROdNUKYIWAC5kGmIzdJTnWkLLqrVy Td9b6HvJMDY= =OCkg -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030405150017.ah54>