|
| Problemer med installation af ProFTPd med ~ Fra : Thomas Løjmann Jørge~ |
Dato : 09-09-01 12:18 |
|
Hej!
Når jeg vil compile og installere subj., sker flg...
[root@noise proftpd-1.2.2]# ./configure --with-modules=mod_sql_mysql
--with-includes=/home/lojmann/proftpd/mod_sql/ --w
ith-libraries=/var/lib/mysql/
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking whether the C compiler accepts -Wall... yes
checking for standalone crypt... no
checking for crypt in -lcrypt... yes
checking for standalone gethostbyname... yes
checking for standalone inet_aton... yes
checking for standalone nsl functions... yes
checking for standalone socket functions... yes
checking for _pw_stayopen variable... no
checking for set_auth_parameters in -lsecurity... no
checking how to run the C preprocessor... gcc -E
checking for sys/security.h... no
checking for krb.h... no
checking for prot.h... no
checking for set_auth_parameters... no
checking for getprpwent... no
checking for hpsecurity.h... no
checking for hpsecurity.h workaround... no
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for memory.h... yes
checking for shadow.h... yes
checking for security/pam_appl.h... no
checking for ctype.h... yes
checking for getopt.h... yes
checking for crypt.h... yes
checking for bstring.h... no
checking for strings.h... yes
checking for limits.h... yes
checking for sys/types.h... yes
checking for sys/param.h... yes
checking for sys/file.h... yes
checking for sys/uio.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for netinet/tcp.h... yes
checking for arpa/inet.h... yes
checking for sys/stat.h... yes
checking for errno.h... yes
checking for sys/socket.h... yes
checking for sys/termios.h... yes
checking for sys/termio.h... no
checking for sys/statvfs.h... yes
checking for sys/vfs.h... yes
checking for sys/select.h... yes
checking for utmpx.h... yes
checking for regex.h... yes
checking for syslog.h... yes
checking for working const... yes
checking for inline... inline
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for size_t... yes
checking for mode_t... yes
checking for off_t... yes
checking type of array argument to getgroups... gid_t
checking for timer_t... yes
checking size of long long... 8
checking size of unsigned long long... 8
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for umode_t... no
checking for ino_t... yes
checking for utmp.h... yes
checking whether your struct utmp has ut_user... yes
checking whether your struct utmp has ut_host... yes
checking whether your syslog.h defines LOG_CRON... yes
checking whether your syslog.h defines LOG_FTP... yes
checking for d_fd in DIR structure... no
checking for dd_fd in DIR structure... no
checking for __dd_fd in DIR structure... no
checking for working alloca.h... yes
checking for alloca... yes
checking whether gcc needs -traditional... no
checking whether setpgrp takes no argument... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for getcwd... yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for mkdir... yes
checking for rmdir... yes
checking for select... yes
checking for socket... yes
checking for strerror... yes
checking for strtol... yes
checking for strchr... yes
checking for memcpy... yes
checking for bcopy... yes
checking for flock... yes
checking for getopt... yes
checking for getopt_long... yes
checking for strsep... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for setsid... yes
checking for setgroupent... no
checking for seteuid... yes
checking for setegid... yes
checking for crypt... yes
checking for fgetpwent... yes
checking for fgetgrent... yes
checking for inet_aton... yes
checking for siginterrupt... yes
checking for setpgid... yes
checking for regcomp... yes
checking for tzset... yes
checking for pathconf... yes
checking for fpathconf... yes
checking for setpassent... no
checking for setproctitle... no
checking for libutil.h... no
checking for setproctitle in -lutil... no
checking for sys/pstat.h... no
checking whether __progname and __progname_full are available... yes
checking which argv replacement method to use... writeable
updating cache ./config.cache
creating ./config.status
creating lib/Makefile
creating src/Makefile
creating modules/Makefile
creating Makefile
creating Make.rules
creating Make.modules
creating contrib/dist/rpm/proftpd.spec
creating config.h
[root@noise proftpd-1.2.2]# make
echo \#define BUILD_STAMP \"`date`\" > include/buildstamp.h
cd lib ; make lib
make[1]: Entering directory `/home/lojmann/proftpd/proftpd-1.2.2/lib'
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c getopt.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c getopt1.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c pr_fnmatch.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c strsep.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c vsnprintf.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c glibc-glob.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c pwgrent.c
ar rc libsupp.a getopt.o getopt1.o pr_fnmatch.o strsep.o vsnprintf.o
glibc-glob.o pwgrent.o
ranlib libsupp.a
make[1]: Leaving directory `/home/lojmann/proftpd/proftpd-1.2.2/lib'
cd src ; make src
make[1]: Entering directory `/home/lojmann/proftpd/proftpd-1.2.2/src'
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c main.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c timers.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c sets.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c pool.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c dirtree.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c support.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c inet.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c log.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c io.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c ident.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c data.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c modules.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c auth.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c fs.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c ftpcount.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c utils.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c ftpwho.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c ftpshut.c
make[1]: Leaving directory `/home/lojmann/proftpd/proftpd-1.2.2/src'
cd modules; make modules
make[1]: Entering directory
`/home/lojmann/proftpd/proftpd-1.2.2/modules'
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c mod_core.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c mod_auth.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c mod_xfer.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c mod_site.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c mod_ls.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c mod_unixpw.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c mod_log.c
gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
-Wall -DUSESHADOW -c mod_sql_mysql.c
mod_sql_mysql.c:43:25: mysql/mysql.h: No such file or directory
make[1]: *** [mod_sql_mysql.o] Error 1
make[1]: Leaving directory
`/home/lojmann/proftpd/proftpd-1.2.2/modules'
make: *** [modules] Error 2
Lige hvad fa'n er der galt? Jeg sys jeg har prøvet alt snart, men
dette her er det længste jeg kommer... Nogle som kan hjælpe...?
/Løjmann
| |
Niles (10-09-2001)
| Kommentar Fra : Niles |
Dato : 10-09-01 20:28 |
|
On Sun, 09 Sep 2001 13:17:40 +0200, Thomas Løjmann Jørgensen
<lojmann@lojmann.dk> wrote:
>Hej!
>
>Når jeg vil compile og installere subj., sker flg...
>
>[root@noise proftpd-1.2.2]# ./configure --with-modules=mod_sql_mysql
--- snip ---
>[root@noise proftpd-1.2.2]# make
-- snip --
>gcc -DLINUX -I.. -I../include -I/home/lojmann/proftpd/mod_sql/ -O2
>-Wall -DUSESHADOW -c mod_sql_mysql.c
>mod_sql_mysql.c:43:25: mysql/mysql.h: No such file or directory
>make[1]: *** [mod_sql_mysql.o] Error 1
>make[1]: Leaving directory
>`/home/lojmann/proftpd/proftpd-1.2.2/modules'
>make: *** [modules] Error 2
>Lige hvad fa'n er der galt? Jeg sys jeg har prøvet alt snart, men
>dette her er det længste jeg kommer... Nogle som kan hjælpe...?
>
>/Løjmann
Tja... Den kløjs i mysql... Er det installeret?
Nils
| |
Thomas Løjmann Jørge~ (10-09-2001)
| Kommentar Fra : Thomas Løjmann Jørge~ |
Dato : 10-09-01 21:03 |
|
On Mon, 10 Sep 2001 21:27:48 +0200, Niles <nila@DELMEdsr.kvl.dk>
wrote:
>Tja... Den kløjs i mysql... Er det installeret?
Ja, jeg har en mySQL server kørene som virker - så det virker "lidt"
skummelt at det ikke helt rykker...
/Løjmann
| |
Rasmus Bøg Hansen (11-09-2001)
| Kommentar Fra : Rasmus Bøg Hansen |
Dato : 11-09-01 09:17 |
|
Thomas Løjmann Jørgensen wrote:
>>Tja... Den kløjs i mysql... Er det installeret?
>
> Ja, jeg har en mySQL server kørene som virker - så det virker "lidt"
> skummelt at det ikke helt rykker...
Du skal også have mysql-dev, mysql-devel - eller hvor dine mysql
headere mv. ligger.
Rasmus
--
-- [ Rasmus 'Møffe' Bøg Hansen ] ---------------------------------------
Expect the unexpected.
- HitchHikers Guide to the Galaxy, Douglas Adams
--------------------------------- [ moffe at amagerkollegiet dot dk ] --
| |
Thomas Løjmann Jørge~ (11-09-2001)
| Kommentar Fra : Thomas Løjmann Jørge~ |
Dato : 11-09-01 18:24 |
|
On Tue, 11 Sep 2001 10:17:21 +0200, Rasmus Bøg Hansen
<moffespam@amagerkollegiet.dk> wrote:
>Du skal også have mysql-dev, mysql-devel - eller hvor dine mysql
>headere mv. ligger.
Det har jeg også med skulle jeg mene... mysql-dev* er installeret...
| |
|
|