1753606 Members
6001 Online
108797 Solutions
New Discussion

Re: LFTP Compiling Issue

 
Timothy P. Jackson
Valued Contributor

LFTP Compiling Issue

Hello everyone,

 

Has anyone successfully compiled LFTP on HP-UX 11.31?

 

If so, what compiler did you use?

 

I cannot seem to find good instructions on how to compile or run LFTP so i am really frustrated.

 

Any help would be greatly appreciated!!

 

Tim

 

 

P.S. this thread has been moved from HP-UX > System Administration to HP-UX > languages - HP Forums Moderator

6 REPLIES 6
Steven Schweda
Honored Contributor

Re: LFTP Compiling Issue

 
Timothy P. Jackson
Valued Contributor

Re: LFTP Compiling Issue

Hi Steven,

 

I am seriously upset that you would post something like that on this site!

 

If you don't know what LFTP is then DON'T RESPOND!

 

I didn't ask any one to research anything, i simply asked if ANYONE had successfully compiled LFTP on HP-UX 11.31. Obviously, you haven't.

 

In the future please keep your responses constructive.

 

Thanks and have a good day!

Dennis Handly
Acclaimed Contributor

Re: LFTP Compiling Issue

>If you don't know what LFTP is ...

 

Perhaps Steven thought some kind stranger that is expert in porting software may help if he knew what LFTP was?

I assume it's: http://en.wikipedia.org/wiki/Lftp

http://lftp.yar.ru/get.html

Timothy P. Jackson
Valued Contributor

Re: LFTP Compiling Issue

My appologies for my unprofessional response! It will not happen again....

 

Dennis,

 

I did down load he software from

 

http://lftp.yar.ru/get.html

 

When I try and compile it, it aborts and gives me the error message "check your C compiler"

 

Not sure what that means, so i have been trying to find out if anyone has compiled it  on HP-UX 11.31 and which compiler they were using.

 

 

Dennis Handly
Acclaimed Contributor

Re: LFTP Compiling Issue

>gives me the error message "check your C compiler"

 

The first thing to do is to search the Makefile for that error message.  It may give you a clue.

 

>which compiler they were using.

 

What compilers do you have?

SoumitraC
Frequent Advisor

Re: LFTP Compiling Issue

(I haven't downloaded or built LFTP)

 

I see instructions on how to compile LFTP on Ubuntu here:

http://www.mattellison.com/2011/09/11/building-lftp-with-proper-ssl-support-on-ubuntu-11-10/

 

And for Mac here:

http://www.romantika.name/v2/build-lftp-on-mac-os-x-lion/

 

The build on HP-UX should be very similar, if not the same.

 

As with most FSF software, you need to first configure the package before you can build it. In case you have the GNU compilers already installed on the machine, a vanilla ./configure should just work.

 

However, if you would like to use the HP C/C++ compilers, you would need to specify the same during the configure process. Look at the help for configure (usually ./configure --help) to find out how to do that (usually setting the environment variables CC and CXX correspondingly to the C and C++ compilers works).

 

Once you have configured it correctly, it would generate a set of Makefiles that would contain the build commands using the right set of compilers.

Soumitra C
HP-UX Compilers