bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hi! freebsd 4.7 problem with protftpd 1.2.8rc2 configure.


From: Ha2r4s
Subject: hi! freebsd 4.7 problem with protftpd 1.2.8rc2 configure.
Date: Sat, 1 Feb 2003 20:05:21 +0100 (CET)

Hi.

I'am Download 1.2.8rc2 proftpd version from http://protftpd.org.
My OS is: FreeBSD 4.7 (updated from 4.5 by cvs).
When I type "./configure" two errors are shows:

configure: WARNING: sys/mount.h: present but cannot be compiled
configure: WARNING: sys/mount.h: check for missing prerequisite headers?
configure: WARNING: sys/mount.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ------------------------------------ ##


configure: WARNING: sys/statvfs.h: present but cannot be compiled
configure: WARNING: sys/statvfs.h: check for missing prerequisite headers?
configure: WARNING: sys/statvfs.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to address@hidden ##
configure: WARNING:     ## ------------------------------------ ##


I know that I don't have this libraries but if you do something for
FreeBSD (new) you must do it well.
Others people doesn't have this libraries too.


And other big problem with this proftpd version.
After Configure when I type make I have too many errors:


# make
echo \#define BUILD_STAMP \"`date`\" >include/buildstamp.h
cd lib/ && make lib
gcc  -DFREEBSD4_7 -DFREEBSD4 -I.. -I../include -O2 -Wall -c pr_fnmatch.c
In file included from ../include/conf.h:125,
                 from pr_fnmatch.c:38:
/usr/include/sys/socket.h:54: warning: useless keyword or type name in
empty declaration
/usr/include/sys/socket.h:54: warning: empty declaration
gcc  -DFREEBSD4_7 -DFREEBSD4 -I.. -I../include -O2 -Wall -c strsep.c
In file included from ../include/conf.h:125,
                 from strsep.c:24:
/usr/include/sys/socket.h:54: warning: useless keyword or type name in
empty declaration
/usr/include/sys/socket.h:54: warning: empty declaration
gcc  -DFREEBSD4_7 -DFREEBSD4 -I.. -I../include -O2 -Wall -c vsnprintf.c
In file included from ../include/conf.h:125,
                 from vsnprintf.c:23:
/usr/include/sys/socket.h:54: warning: useless keyword or type name in
empty declaration
/usr/include/sys/socket.h:54: warning: empty declaration
gcc  -DFREEBSD4_7 -DFREEBSD4 -I.. -I../include -O2 -Wall -c glibc-glob.c
gcc  -DFREEBSD4_7 -DFREEBSD4 -I.. -I../include -O2 -Wall -c
glibc-mkstemp.c
In file included from ../include/conf.h:125,
                 from glibc-mkstemp.c:21:
/usr/include/sys/socket.h:54: warning: useless keyword or type name in
empty declaration
/usr/include/sys/socket.h:54: warning: empty declaration
gcc  -DFREEBSD4_7 -DFREEBSD4 -I.. -I../include -O2 -Wall -c pr-syslog.c
In file included from ../include/conf.h:125,
                 from pr-syslog.c:30:
/usr/include/sys/socket.h:54: warning: useless keyword or type name in
empty declaration
/usr/include/sys/socket.h:54: warning: empty declaration
gcc  -DFREEBSD4_7 -DFREEBSD4 -I.. -I../include -O2 -Wall -c pwgrent.c
In file included from ../include/conf.h:125,
                 from pwgrent.c:24:
/usr/include/sys/socket.h:54: warning: useless keyword or type name in
empty declaration
/usr/include/sys/socket.h:54: warning: empty declaration
gcc  -DFREEBSD4_7 -DFREEBSD4 -I.. -I../include -O2 -Wall -c getopt.c
gcc  -DFREEBSD4_7 -DFREEBSD4 -I.. -I../include -O2 -Wall -c getopt1.c
ar rc libsupp.a pr_fnmatch.o strsep.o vsnprintf.o glibc-glob.o
glibc-mkstemp.o pr-syslog.o pwgrent.o getopt.o getopt1.o
ranlib libsupp.a
cd src/ && make src
gcc  -DFREEBSD4_7 -DFREEBSD4 -I.. -I../include -O2 -Wall -c main.c
In file included from ../include/conf.h:125,
                 from main.c:32:
/usr/include/sys/socket.h:54: warning: useless keyword or type name in
empty declaration
/usr/include/sys/socket.h:54: warning: empty declaration
In file included from main.c:38:
/usr/include/getopt.h:95: redefinition of `struct option'
*** Error code 1

Stop in /root/tmp/packages/proftpd-1.2.8rc2/src.
*** Error code 1

Stop in /root/tmp/packages/proftpd-1.2.8rc2.



I have this libraries from cvsup ..and other packages compile well.
If you have good libraries please (if you want) send me (this missing
libraries and this good).

And do something like libraries check:


#include <stdio.h>
#include <stdlib.h>

char *firstlib = "/usr/include/sys/mount.h";

void check(char *p)
{
int fr;
fr = open(p, O_RDONLY);
if (fr < 0) {
printf("This lib doesn't exist...\n");
exit(0);
}
close(fr);
printf("OK! this lib exist...\n");
fflush(stdout);
}


int main() {

printf("Checking for libs...\n");
check(firstlib);

}

You know... something like this for FreeBSD and other system's with this
problem!


                                                        Bye.
                                                              Ha2r4s


please Replay.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]