The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Proftp install errors. please help!
Author: Andrew Christensen 
Date:   19-02-03 21:51

I have been attempting to install ProFTP on my FreeBSD machine and I keep getting the following message when I run make.

cd lib ; make lib
gcc -DFREEBSD5_0 -DFREEBSD5 -I.. -I../include -O2 -Wall -c pr_fnmatch.c
In file included from ../include/libsupp.h:35,
from pr_fnmatch.c:39:
../include glibc-glob.h:55: redefinition of '__size_t'
/usr/include/machine/_types.h:86: '__size_t' previously declared here
*** Error code 1
Stop in /usr/local/proftpd-1.2.7/lib.
*** Error code 1
Stop in /usr/local/proftpd-1.2.7.
Can anyone help me out?
Oh by the way, in case you hadn't guessed, I am a newbie. Proud of it. Have come to see the light (M$ is NOT a good web server...)

Reply To This Message
 Re: Proftp install errors. please help!
Author: .daniel.schrock 
Date:   19-02-03 23:09

why are you trying to make lib?
are you following some sort of tutorial or just flying blind.

here is the easy way to do it.

cd /usr/ports/ftp/proftpd
make install clean

thats are done

Reply To This Message
 Re: Proftp install errors. please help!
Author: Andrew Christensen 
Date:   20-02-03 00:37

OMG! Thank you so much. I spent hours trying to find decent documentation. The ports thing is so great.

The only problem I see is that it is using an older version of ProFtp. I can live with that though.

Thanks for the help!

Reply To This Message
 Re: Proftp install errors. please help!
Author: caseyd 
Date:   20-02-03 23:02

here is a easy fix to get your ports up to date

cd /usr/ports/net/cvsup-without-gui
make install
make clean

once installed goto /usr/share/examples/cvsup and modify ports-supfile then run cvsup ports-supfile. This will update your ports to the newest version. I would suggest running this before you build anything in the ports collection

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 

 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Remember my login:
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum