LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 06-23-2011, 08:30 PM   #1
lucmove
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Lubuntu, Slackware
Posts: 575

Rep: Reputation: 64
Help compiling vcp


I used to use Slackware a long time ago, there was a Slackware package for a nice application called vcp. It was a lot like cp, but with a nice progress bar. I used it a lot.

Now I use Ubuntu and there is no package for it. I also use Puppy, there is no package for it either. Today I decided to compile from source. That is often a challenge to me. Here we go...

I think I found the source HERE.

Following the instructions in the INSTALL file, I run 'make'. Error:

Code:
vcp-2.2> make
cc -Wall -c -I/usr/include/ -o main.o main.c
In file included from main.c:11:
common.h:14: fatal error: curses.h: No such file or directory
compilation terminated.
make: *** [main.o] Error 1
Exit 2
Hum. But I have curses.h, it's in /usr/include/ncursesw/curses.h

In fact, I had to install the package that provides it so I could compile vifm just a few days ago.

What should I do to make vcp compile correctly?
 
Old 06-23-2011, 09:35 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 12,093

Rep: Reputation: 1582Reputation: 1582Reputation: 1582Reputation: 1582Reputation: 1582Reputation: 1582Reputation: 1582Reputation: 1582Reputation: 1582Reputation: 1582Reputation: 1582
there were many many changes in the gcc compiler since Aug.2004 when that code was wrote

to build on the current gcc 4.5 or 4,6 you will need to rewrite the program to comply with the current coding standards

or build with the older gcc3.4
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vcp devi2010 Linux - Newbie 1 10-14-2010 12:54 AM
CP210x USB to UART Bridge VCP Linux Drivers(SILICON Labs) perfectpol7 Linux - Hardware 4 09-02-2010 11:59 AM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 05:03 AM


All times are GMT -5. The time now is 09:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration