i'm trying to cross-compile lftp-3.2.1 from the tarball for the
power pc, using the ELDK 3.1.1 ppc toolchain.  first, i set the env
variable

  $ CC=ppc_8xx-gcc

which represents the cross-compiling gcc from ELDK, then i tried:

  $ ./configure --disable-static --with-ssl --host=ppc-linux-gcc

and got as far as this:

...
checking for library containing tigetstr... -lcurses
checking for tgetstr... yes
checking for readline... yes
checking for libgnutls-config... /usr/bin/libgnutls-config
checking for libgnutls - version >= 1.0.0... cross compiling; assumed OK...
yes
checking for XML_ParserCreateNS in -lexpat... yes
checking for "/dev/ptc"... configure: error: cannot check for file
  existence when cross compiling

  can anyone give me some guidance on how to do this?  thanks.

rday

Reply via email to