From :: fetch Subject :: 'configure' error | gateway:/usr/src/netacct-mysql-0.79rc2# gateway:/usr/src/netacct-mysql-0.79rc2# ./configure --with-mysql=/etc/mysql
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... 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 style of include used by make... GNU
checking dependency style of gcc... gcc3
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 arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.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 malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.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 utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking for working volatile... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking for strftime... yes
checking for alarm... yes
checking for memmove... yes
checking for putenv... yes
checking for select... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for pcap_dispatch in -lpcap... yes
checking "for postgresql"... no
you don't have PostgreSQL HEADERS, build process
will fail withous this!! try to install them.
libpq-fe.h is missing ... perhaps you need to
to install postgresql-*-dev package or try with
./configure --with-pgsql=/path/to/install/dir
.. THAT IS OK if you compiling with ORACLE or MYSQL ..
checking "for mysql"... configure: error: "mysql headers"
./configure: line 5858: exit: /etc/mysql/include: numeric argument required
./configure: line 5858: exit: /etc/mysql/include: numeric argument required
gateway:/usr/src/netacct-mysql-0.79rc2# gateway:/usr# clear
gateway:/usr# ps aux | grep mysqld
root 3561 0.0 0.2 2672 1340 ? S Jan09 0:00 /bin/sh /usr/bin/mysqld_safe
mysql 3598 0.0 3.2 126516 16904 ? Sl Jan09 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
root 3599 0.0 0.0 1568 512 ? S Jan09 0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
root 23292 0.0 0.1 1960 620 pts/1 R+ 00:52 0:00 grep mysqld
gateway:/usr# ./configure --with-mysql=/usr
bash: ./configure: No such file or directory
gateway:/usr# gateway:/# clear
gateway:/# gateway:/usr/src/netacct-mysql-0.79rc2# ps aux | grep mysqld
root 3561 0.0 0.2 2672 1340 ? S Jan09 0:00 /bin/sh /usr/bin/mysqld_safe
mysql 3598 0.0 3.2 126516 16904 ? Sl Jan09 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-external-locking --port=3306 --socket=/var/run/mysqld/mysqld.sock
root 3599 0.0 0.0 1568 512 ? S Jan09 0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
root 23311 0.0 0.1 1960 604 pts/1 R+ 00:53 0:00 grep mysqld
gateway:/usr/src/netacct-mysql-0.79rc2# ./configure --with-mysql=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... 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 style of include used by make... GNU
checking dependency style of gcc... gcc3
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 arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.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 malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.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 utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking for working volatile... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking for strftime... yes
checking for alarm... yes
checking for memmove... yes
checking for putenv... yes
checking for select... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for pcap_dispatch in -lpcap... yes
checking "for postgresql"... no
you don't have PostgreSQL HEADERS, build process
will fail withous this!! try to install them.
libpq-fe.h is missing ... perhaps you need to
to install postgresql-*-dev package or try with
./configure --with-pgsql=/path/to/install/dir
.. THAT IS OK if you compiling with ORACLE or MYSQL ..
checking "for mysql"... configure: error: "mysql headers"
./configure: line 5858: exit: /usr/include: numeric argument required
./configure: line 5858: exit: /usr/include: numeric argument required
что ему не понравилось?
| From :: fetch Subject :: Re: 'configure' error | | install libmysql-dev and onfiguration is successful | From :: derek Subject :: Re: Re: 'configure' error | 'configure' error
...
checking "for mysql"... configure: error: "mysql headers"
./configure: line 5660: exit: /usr/lib/include: numeric argument required
./configure: line 5660: exit: /usr/lib/include: numeric argument required
# rpm -qa | grep My
libMySQL-4.0.20-alt1
libMySQL-devel-4.0.20-alt1
| From :: IVIuXa Subject :: why ? | .....
checking for pcap_dispatch in -lpcap... yes
checking "for postgresql"... configure: error: "pgsql headers"
./configure: line 5673: exit: /usr/include: numeric argument required
./configure: line 5673: exit: /usr/include: numeric argument required
I put all devel postgresql, but the problem continues! What still need to install?! |
|
 |
 |
|
 |
|