Processing files: socks5-v1.0r-11
error: Two files on one line: /usr
error: Two files on one line: /usr/bin
error: Two files on one line: /usr/lib
error: Two files on one line: /usr/include
error: Two files on one line: /usr/share
error: Two files on one line: /usr/share/man
RPM build errors:
Two files on one line: /usr
Two files on one line: /usr/bin
Two files on one line: /usr/lib
Two files on one line: /usr/include
Two files on one line: /usr/share
Two files on one line: /usr/share/man
下面是我的.spec
Summary: socks5 is a tool about proxy.
Name: socks5
Version: v1.0r
Release: 11
Copyright: GPL
Group: Applications/Internet
#BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Source: %{name}-%{version}-%{release}.tar.gz
URL: http://www.ourlinux.net/
Vendor: ourlinux.net
Packager: Jianhong Xu ([email protected])
%description
socks5 is a tool about proxy.
%prep
%setup -q -n %{name}-%{version}
%build
./configure --prefix=%{_prefix} --with-threads
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
############## 错误提示 #################
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.56513
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.56513
loading cache ./config.cache
checking for gcc2... (cached) gcc
checking for gcc... (cached) 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... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking whether gcc needs -traditional... (cached) no
checking for working const... (cached) yes
checking for inline... (cached) inline
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking for makedepend... (cached) true
checking for autoconf... (cached) true
checking for autoheader... (cached) true
checking for fcntl.h... (cached) yes
checking for memory.h... (cached) yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for bstring.h... (cached) no
checking for varargs.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for time.h... (cached) yes
checking for syslog.h... (cached) yes
checking for ifaddrs.h... (cached) yes
checking for crypt.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/signal.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for sys/ttychars.h... (cached) yes
checking for sys/ipc.h... (cached) yes
checking for sys/bitypes.h... (cached) yes
checking for sys/mbuf.h... (cached) no
checking for sys/sem.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/fcntl.h... (cached) yes
checking for sys/filio.h... (cached) no
checking for sys/sockio.h... (cached) no
checking for sys/termios.h... (cached) yes
checking for sys/termio.h... (cached) no
checking for termios.h... (cached) yes
checking for termio.h... (cached) yes
checking for sys/un.h... (cached) yes
checking for netinet/in_systm.h... (cached) yes
checking for net/route.h... (cached) yes
checking for machine/endian.h... (cached) no
checking for paths.h... (cached) yes
checking for nl_types.h... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for main in -lsocket... (cached) no
checking for main in -ldl... (cached) yes
checking for main in -ldld... (cached) no
checking for main in -lsvld... (cached) no
checking for setupterm in -ltermcap... (cached) no
checking for setupterm in -lcurses... (cached) yes
checking for gethostbyname in -lc... (cached) yes
checking if we can use -lnsl... (cached) no
checking for shared libc... (cached) libc.so.6
checking for shared libnsl... (cached) libnsl.so.1
checking for shared libsocket... no
checking for shared libresolv... (cached) libresolv.so.2
checking for shared libdgc... no
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking return type of signal handlers... (cached) void
checking whether sockaddr_un has sun_len... (cached) no
checking for sig_atomic_t... (cached) yes
checking for cc_t... (cached) yes
checking for sig_t... (cached) yes
checking for getpassphrase... (cached) no
checking for sys_errlist... (cached) yes
checking for dlopen... (cached) yes
checking for shl_load... (cached) no
checking for setupterm... (cached) yes
checking for tgetent... (cached) yes
checking for gethostbyname2... (cached) yes
checking for gethostbyname_r... (cached) yes
checking for gethostbyaddr_r... (cached) yes
checking for getpwuid_r... (cached) yes
checking for getservbyname_r... (cached) yes
checking for memset... (cached) yes
checking for memcmp... (cached) yes
checking for memmove... (cached) yes
checking for strchr... (cached) yes
checking for strrchr... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for bcopy... (cached) yes
checking for bcmp... (cached) yes
checking for bzero... (cached) yes
checking for index... (cached) yes
checking for rindex... (cached) yes
checking for setenv... (cached) yes
checking for putenv... (cached) yes
checking for unsetenv... (cached) yes
checking for getenv... (cached) yes
checking for getdomainname... (cached) yes
checking for rresvport... (cached) yes
checking for sendmsg... (cached) yes
checking for setsid... (cached) yes
checking for setpgid... (cached) yes
checking for setpgrp... (cached) yes
checking for getifaddrs... (cached) yes
checking for waitpid... (cached) yes
checking for flock... (cached) yes
checking for dgettext... (cached) yes
checking for sigaction... (cached) yes
checking for sigprocmask... (cached) yes
checking for re_comp... (cached) yes
checking for strspn... (cached) yes
checking for getcwd... (cached) yes
checking for vfork... (cached) yes
checking for herror... (cached) yes
checking for genget... (cached) no
checking for getopt... (cached) yes
checking for vprintf... (cached) yes
checking whether setpgrp takes no argument... (cached) yes
checking for finger... (cached) /usr/bin/finger
checking for traceroute... (cached) /usr/sbin/traceroute
checking for ping... (cached) /bin/ping