Code: Select all
autoconf;./configure;make clean;make install
Moderators: Developers, Moderators
Code: Select all
autoconf;./configure;make clean;make install
Code: Select all
root# autoconf;./configure;make clean;make install
configure: error: cannot run /bin/sh config/config.sub
make: *** No rule to make target `clean'. Stop.
make: *** No rule to make target `install'. Stop.
Code: Select all
-rw-r--r-- 1 root root 31691 Jul 4 08:31 aclocal.m4
-rw-r--r-- 1 root root 0 Jul 4 08:31 AUTHORS
-rw-r--r-- 1 root root 97 Jul 4 08:31 bootstrap
drwxr-xr-x 4 root root 4096 Jul 4 08:42 cactid
-rw-r--r-- 1 root root 21632 Jul 4 08:31 cactid.c
-rw-r--r-- 1 root root 2494 Jul 4 08:31 cactid.conf.dist
-rw-r--r-- 1 root root 14614 Jul 4 08:31 cactid.h
-rw-r--r-- 1 root root 468827 Jul 6 09:07 cactid.zip
-rw-r--r-- 1 root root 8384 Jul 4 08:31 ChangeLog
-rw-r--r-- 1 root root 3862 Jul 4 08:31 common.h
drwxr-xr-x 3 root root 4096 Jul 6 11:03 config
-rw-r--r-- 1 root root 8322 Jul 6 09:08 configure.ac
-rw-r--r-- 1 root root 18332 Jul 4 08:31 COPYING
-rw-r--r-- 1 root root 4934 Jul 4 08:31 error.c
-rw-r--r-- 1 root root 2339 Jul 4 08:31 error.h
-rw-r--r-- 1 root root 802 Jul 4 08:31 INSTALL
-rw-r--r-- 1 root root 6754 Jul 4 08:31 keywords.c
-rw-r--r-- 1 root root 2554 Jul 4 08:31 keywords.h
-rw-r--r-- 1 root root 2270 Jul 4 08:31 LICENSE
-rw-r--r-- 1 root root 26944 Jul 4 08:31 LICENSE.LGPL
-rw-r--r-- 1 root root 7400 Jul 4 08:31 locks.c
-rw-r--r-- 1 root root 2528 Jul 4 08:31 locks.h
-rw-r--r-- 1 root root 259 Jul 4 08:31 Makefile.am
-rw-r--r-- 1 root root 15351 Jul 4 08:31 Makefile.in
-rw-r--r-- 1 root root 0 Jul 4 08:31 NEWS
-rw-r--r-- 1 root root 11009 Jul 4 08:31 nft_popen.c
-rw-r--r-- 1 root root 2553 Jul 4 08:31 nft_popen.h
-rw-r--r-- 1 root root 16543 Jul 4 08:31 php.c
-rw-r--r-- 1 root root 2497 Jul 4 08:31 php.h
-rw-r--r-- 1 root root 25585 Jul 4 08:31 ping.c
-rw-r--r-- 1 root root 2825 Jul 4 08:31 ping.h
-rw-r--r-- 1 root root 41729 Jul 4 08:31 poller.c
-rw-r--r-- 1 root root 2446 Jul 4 08:31 poller.h
-rw-r--r-- 1 root root 350 Jul 4 08:31 README
-rw-r--r-- 1 root root 943 Jul 4 08:31 README-WINDOWS
-rw-r--r-- 1 root root 17629 Jul 4 08:31 snmp.c
-rw-r--r-- 1 root root 2790 Jul 4 08:31 snmp.h
-rw-r--r-- 1 root root 8211 Jul 4 08:31 sql.c
-rw-r--r-- 1 root root 2558 Jul 4 08:31 sql.h
-rw-r--r-- 1 root root 27642 Jul 4 08:31 util.c
-rw-r--r-- 1 root root 3496 Jul 4 08:31 util.h
Code: Select all
[root@server]# vi configure.ac
<snip>
# MYSQL_LIB_CHK($i/lib)
MYSQL_LIB_CHK($i/lib64)
# MYSQL_LIB_CHK($i/lib/mysql)
MYSQL_LIB_CHK($i/lib64/mysql)
<snip>
Code: Select all
[root@server]# dos2unix *.h *.c
dos2unix: converting file cactid.h to UNIX format ...
dos2unix: converting file common.h to UNIX format ...
dos2unix: converting file error.h to UNIX format ...
dos2unix: converting file keywords.h to UNIX format ...
dos2unix: converting file locks.h to UNIX format ...
dos2unix: converting file nft_popen.h to UNIX format ...
dos2unix: converting file php.h to UNIX format ...
dos2unix: converting file ping.h to UNIX format ...
dos2unix: converting file poller.h to UNIX format ...
dos2unix: converting file snmp.h to UNIX format ...
dos2unix: converting file sql.h to UNIX format ...
dos2unix: converting file util.h to UNIX format ...
dos2unix: converting file cactid.c to UNIX format ...
dos2unix: converting file error.c to UNIX format ...
dos2unix: converting file keywords.c to UNIX format ...
dos2unix: converting file locks.c to UNIX format ...
dos2unix: converting file nft_popen.c to UNIX format ...
dos2unix: converting file php.c to UNIX format ...
dos2unix: converting file ping.c to UNIX format ...
dos2unix: converting file poller.c to UNIX format ...
dos2unix: converting file snmp.c to UNIX format ...
dos2unix: converting file sql.c to UNIX format ...
dos2unix: converting file util.c to UNIX format ...
[root@server]# cd config
[root@server]# dos2unix *
dos2unix: converting file config.guess to UNIX format ...
dos2unix: converting file config.h.in to UNIX format ...
dos2unix: converting file config.sub to UNIX format ...
dos2unix: converting file depcomp to UNIX format ...
dos2unix: converting file install-sh to UNIX format ...
dos2unix: converting file missing to UNIX format ...
dos2unix: converting file mkinstalldirs to UNIX format ...
dos2unix: converting file stamp-h to UNIX format ...
dos2unix: converting file stamp-h.in to UNIX format ...
[root@server]# cd ..
Code: Select all
config.status: executing depfiles commands
Makefile:204: .deps/cactid.Po: No such file or directory
Makefile:205: .deps/keywords.Po: No such file or directory
Makefile:206: .deps/locks.Po: No such file or directory
Makefile:207: .deps/nft_popen.Po: No such file or directory
Makefile:208: .deps/php.Po: No such file or directory
Makefile:209: .deps/ping.Po: No such file or directory
Makefile:210: .deps/poller.Po: No such file or directory
Makefile:211: .deps/snmp.Po: No such file or directory
Makefile:212: .deps/sql.Po: No such file or directory
Makefile:213: .deps/util.Po: No such file or directory
make: *** No rule to make target `.deps/util.Po'. Stop.
Makefile:204: .deps/cactid.Po: No such file or directory
Makefile:205: .deps/keywords.Po: No such file or directory
Makefile:206: .deps/locks.Po: No such file or directory
Makefile:207: .deps/nft_popen.Po: No such file or directory
Makefile:208: .deps/php.Po: No such file or directory
Makefile:209: .deps/ping.Po: No such file or directory
Makefile:210: .deps/poller.Po: No such file or directory
Makefile:211: .deps/snmp.Po: No such file or directory
Makefile:212: .deps/sql.Po: No such file or directory
Makefile:213: .deps/util.Po: No such file or directory
make: *** No rule to make target `.deps/util.Po'. Stop.
Code: Select all
aclocal
autoheader
automake
autoconf
./configure
make
Code: Select all
[root@server]# vi configure.ac
<snip>
# MYSQL_LIB_CHK($i/lib)
MYSQL_LIB_CHK($i/lib64)
# MYSQL_LIB_CHK($i/lib/mysql)
MYSQL_LIB_CHK($i/lib64/mysql)
<snip>
Code: Select all
[root@server]# dos2unix *.h *.c
...
[root@server]# cd config
[root@server]# dos2unix *
...
Code: Select all
[root@server]#rm -Rf cactid
Code: Select all
[root@server]#aclocal
[root@server]#autoheader
[root@server]#automake
[root@server]#autoconf
[root@server]#./configure
[root@server]#make
[root@server]#make install
Code: Select all
<snip>
if gcc -DHAVE_CONFIG_H -I. -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/include/mysql -g -O2 -MT error.o -MD -MP -MF ".deps/error.Tpo" -c -o error.o error.c; \
then mv -f ".deps/error.Tpo" ".deps/error.Po"; else rm -f ".deps/error.Tpo"; exit 1; fi
rm: cannot remove `cactid': Is a directory
make: *** [cactid] Error 1
Code: Select all
[root@server]# aclocal
/usr/share/aclocal/libgcrypt.m4:23: warning: underquoted definition of AM_PATH_LIBGCRYPT
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO
Users browsing this forum: No registered users and 0 guests