Skocz do zawartości

Tpop3d - I Mysql


horror

Rekomendowane odpowiedzi

Od pewnego czasu męczę tpop3d, ale on jest uparty i nijak nie chce sie skonfigurować i skompilować.

Log z configure:

 

[horror@agz179 tpop]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
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 for gcc option to accept ANSI C... none needed
checking for library containing socket... none required
checking for gethostbyname... yes
checking for crypt in -lcrypt... yes
checking for dlopen in -ldl... yes
checking for pam_start in -lpam... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking mysql.h usability... no
checking mysql.h presence... no
checking for mysql.h... no
checking tcpd.h usability... yes
checking tcpd.h presence... yes
checking for tcpd.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking libpq-fe.h usability... yes
checking libpq-fe.h presence... yes
checking for libpq-fe.h... yes
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for gettimeofday... yes
checking for select... yes
checking for socket... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for uname... yes
checking for strtok_r... yes
checking for inet_aton... yes
checking for flock... yes
checking for fcntl... yes
checking for pam_authenticate... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating init.d/Makefile
config.status: creating config/Makefile
config.status: creating configuration.h
config.status: configuration.h is unchanged
config.status: executing default-1 commands

 

Log z make:

[horror@agz179 tpop3d-1.5.3]$ make
make  all-recursive
make[1]: Wejście do katalogu `/home/horror/tpop3d-1.5.3'
Making all in init.d
make[2]: Wejście do katalogu `/home/horror/tpop3d-1.5.3/init.d'
make[2]: Nie ma nic do zrobienia w `all'.
make[2]: Opuszczenie katalogu `/home/horror/tpop3d-1.5.3/init.d'
Making all in config
make[2]: Wejście do katalogu `/home/horror/tpop3d-1.5.3/config'
make[2]: Nie ma nic do zrobienia w `all'.
make[2]: Opuszczenie katalogu `/home/horror/tpop3d-1.5.3/config'
make[2]: Wejście do katalogu `/home/horror/tpop3d-1.5.3'
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c auth_mysql.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c auth_pgsql.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c auth_ldap.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c auth_other.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c auth_perl.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c auth_pam.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c auth_passwd.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c auth_flatfile.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c authcache.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c authswitch.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c buffer.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c cfgdirectives.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c config.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c connection.c
connection.c: In function ‘connection_new’:
connection.c:105: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c ioabs_tcp.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c ioabs_tls.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c listener.c
listener.c: In function ‘listener_new’:
listener.c:59: warning: missing braces around initializer
listener.c:59: warning: (near initialization for ‘as__z.sin’)
listener.c: In function ‘listener_obtain_domain’:
listener.c:206: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c locks.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c logging.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c mailbox.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c maildir.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c mailspool.c
mailspool.c: In function ‘memstr’:
mailspool.c:231: warning: pointer targets in return differ in signedness
mailspool.c: In function ‘mailspool_build_index’:
mailspool.c:298: warning: pointer targets in passing argument 1 of ‘memstr’ differ in signedness
mailspool.c:298: warning: pointer targets in passing argument 3 of ‘memstr’ differ in signedness
mailspool.c:298: warning: pointer targets in assignment differ in signedness
mailspool.c:330: warning: pointer targets in passing argument 1 of ‘memstr’ differ in signedness
mailspool.c:330: warning: pointer targets in passing argument 3 of ‘memstr’ differ in signedness
mailspool.c:330: warning: pointer targets in assignment differ in signedness
mailspool.c:333: warning: pointer targets in passing argument 1 of ‘memstr’ differ in signedness
mailspool.c:333: warning: pointer targets in passing argument 3 of ‘memstr’ differ in signedness
mailspool.c:333: warning: pointer targets in passing argument 1 of ‘memstr’ differ in signedness
mailspool.c:333: warning: pointer targets in passing argument 3 of ‘memstr’ differ in signedness
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c main.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c md5c.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c netloop.c
netloop.c: In function ‘listeners_post_select’:
netloop.c:134: warning: pointer targets in passing argument 3 of ‘accept’ differ in signedness
netloop.c:136: warning: pointer targets in passing argument 3 of ‘getsockname’ differ in signedness
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c password.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c pidfile.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c pop3.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c signals.c
signals.c: In function ‘set_signals’:
signals.c:70: warning: missing braces around initializer
signals.c:70: warning: (near initialization for ‘sa.__sigaction_handler’)
signals.c: In function ‘die_signal_handler’:
signals.c:114: warning: missing braces around initializer
signals.c:114: warning: (near initialization for ‘sa.__sigaction_handler’)
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c stringmap.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c strtok_r.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c substvars.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c tls.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c tokenise.c
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c util.c
util.c: In function ‘xsignal’:
util.c:115: warning: missing braces around initializer
util.c:115: warning: (near initialization for ‘sa.__sigaction_handler’)
gcc -DHAVE_CONFIG_H -I. -I. -I.     -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'  -c vector.c
gcc  -Wall -g -O2 -DCONFIG_DIR='"/usr/local/etc"'   -o tpop3d  auth_mysql.o auth_pgsql.o auth_ldap.o auth_other.o auth_perl.o auth_pam.o auth_passwd.o auth_flatfile.o authcache.o authswitch.o buffer.o cfgdirectives.o config.o connection.o ioabs_tcp.o ioabs_tls.o listener.o locks.o logging.o mailbox.o maildir.o mailspool.o main.o md5c.o netloop.o password.o pidfile.o pop3.o signals.o stringmap.o strtok_r.o substvars.o tls.o tokenise.o util.o vector.o  -lpam -ldl -lcrypt
make[2]: Opuszczenie katalogu `/home/horror/tpop3d-1.5.3'
make[1]: Opuszczenie katalogu `/home/horror/tpop3d-1.5.3'

 

 

Odnośnik do komentarza
Udostępnij na innych stronach

zeby wykrywal mi mysql.h
A sprawdziłeś czy masz na dysku? Jeśli tak i w jakimś w miarę standardowym miejscu (np./usr/include ew. w podkatalogach) to może
./configure --help

Może wystarczy podać jakąś opcję typu --with-mysql albo coś w tym rodzaju.

 

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
×
×
  • Dodaj nową pozycję...