Linux Community
Compile lftp from source
~/git/lftp $ ./autogen.sh **Error**: You must have `gnulib-tool' in PATH to compile lftp. Get it from git://git.savannah.gnu.org/gnulib
fixed with:
sudo apt-get install gnulib
checking for readline... configure: error: need installed readline-devel package
sudo apt-get install libreadline6-dev
mv -f .deps/buffer_std.Tpo .deps/buffer_std.Plo/bin/bash ../libtool --silent --tag=CXX --mode=compile gcc -DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio -I/usr/lib/include -O2 -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -MT MirrorJob.lo -MD -MP -MF .deps/MirrorJob.Tpo -c -o MirrorJob.lo MirrorJob.ccMirrorJob.cc:1192:28: fatal error: parse-datetime.h: No such file or directorycompilation terminated.make[1]: *** [MirrorJob.lo] Error 1
See my email to lftp-devel. http://univ.uniyar.ac.ru/pipermail/lftp-devel/2011-November/000015.html
In file included from lftp.cc:52:0:attach.h:46:20: fatal error: passfd.h: No such file or directorycompilation terminated.make[1]: *** [lftp.o] Error 1
If I download the tarball and compile it, everything is ok.
But I tried to compiled the checkout (clone) from git and got the above errors.
It seems some critical files are missing from git.
The missing files seem to be those who used to be in lib/.cvsignore and lib/.gitignore
Comments
#1
~/git/lftp $ ./autogen.sh
**Error**: You must have `gnulib-tool' in PATH to compile lftp.
Get it from git://git.savannah.gnu.org/gnulib
fixed with:
sudo apt-get install gnulib
#2
checking for readline... configure: error: need installed readline-devel package
fixed with:
sudo apt-get install libreadline6-dev
#3
mv -f .deps/buffer_std.Tpo .deps/buffer_std.Plo
/bin/bash ../libtool --silent --tag=CXX --mode=compile gcc -DHAVE_CONFIG_H -I. -I../lib -I../lib -I../trio -I/usr/lib/include -O2 -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti -fno-implement-inlines -MT MirrorJob.lo -MD -MP -MF .deps/MirrorJob.Tpo -c -o MirrorJob.lo MirrorJob.cc
MirrorJob.cc:1192:28: fatal error: parse-datetime.h: No such file or directory
compilation terminated.
make[1]: *** [MirrorJob.lo] Error 1
#4
See my email to lftp-devel.
http://univ.uniyar.ac.ru/pipermail/lftp-devel/2011-November/000015.html
In file included from lftp.cc:52:0:
attach.h:46:20: fatal error: passfd.h: No such file or directory
compilation terminated.
make[1]: *** [lftp.o] Error 1
#5
#6
If I download the tarball and compile it, everything is ok.
But I tried to compiled the checkout (clone) from git and got the above errors.
It seems some critical files are missing from git.
#7
The missing files seem to be those who used to be in
lib/.cvsignore
and
lib/.gitignore