LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
Search this Thread
Old 01-09-2009, 08:26 AM   #1
hazdingo
LQ Newbie
 
Registered: Jan 2009
Posts: 20

Rep: Reputation: 0
Problem Installing libcap


I was posting in here earlier about a fprobe install, and a user suggested I install libcap-dev. The poster recommended this site https://launchpad.net/ubuntu/intrepi...:1.10-14build1 After going to the site and downloading, I "cd"'ed into the directory and did a "make install" as per the directions in the ReadMe. I am currently getting a parameter name omitted error after typing that. Anyone know why? Thanks.
 
Old 01-09-2009, 08:40 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,906

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
Quote:
I "cd"'ed into the directory and did a "make install" as per the directions in the ReadMe.
You should first run "make" and then as root run "make install"
 
Old 01-09-2009, 08:42 AM   #3
hazdingo
LQ Newbie
 
Registered: Jan 2009
Posts: 20

Original Poster
Rep: Reputation: 0
I'm getting the same error when I just type "make"
 
Old 01-09-2009, 09:10 AM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,906

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
What is the error you get? And what distro you're using
Because I can run "make" and "make install" here (Slackware) just fine.
 
Old 01-09-2009, 09:14 AM   #5
hazdingo
LQ Newbie
 
Registered: Jan 2009
Posts: 20

Original Poster
Rep: Reputation: 0
I'm on Ubuntu 8.10

Is it because I have the libcap folder on the desktop? Is there a better place for me to put it before I make install?
 
Old 01-09-2009, 10:31 AM   #6
hazdingo
LQ Newbie
 
Registered: Jan 2009
Posts: 20

Original Poster
Rep: Reputation: 0
Anybody have any ideas? I need it for work =(
 
Old 01-09-2009, 11:44 AM   #7
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,906

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
Did you try this package?

Last edited by bathory; 01-09-2009 at 11:47 AM.
 
Old 08-18-2009, 09:19 PM   #8
glg
LQ Newbie
 
Registered: Aug 2009
Location: China
Posts: 25

Rep: Reputation: 15
Exclamation

Quote:
Originally Posted by hazdingo View Post
Anybody have any ideas? I need it for work =(
Hi,when I install libcap on Ubuntu 8.04, I have the problem :


glg:~/build/cdrkit/libcap-1.10.orig[/email]$ make
make -C libcap CC='gcc' CFLAGS='-Dlinux -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -pedantic -g -I/home/mingdao/build/cdrkit/libcap-1.10.orig/libcap/include' LD='ld' LIBS='-L/home/mingdao/build/cdrkit/libcap-1.10.orig/libcap -lcap' LDFLAGS='-s ' VERSION='1' MINOR='10' LIBDIR='/lib' INCDIR='/usr/include' SBINDIR='/sbin' MANDIR='/usr/man' all
make[1]: Entering directory `/home/glg/build/cdrkit/libcap-1.10.orig/libcap'
gcc -Dlinux -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -pedantic -g -I/home/mingdao/build/cdrkit/libcap-1.10.orig/libcap/include -c cap_sys.c -o cap_sys.o
In file included from cap_sys.c:10:
libcap.h:57:3: warning: suggest hiding #error from traditional C with an indented #
libcap.h:58:3: warning: suggest hiding #error from traditional C with an indented #
libcap.h:101:25: warning: ISO C does not permit named variadic macros
cap_sys.c:14: error: expected XXX specifiers or ‘...’ before ‘capget’
cap_sys.c:15: error: expected XXX specifiers or ‘...’ before ‘header’
cap_sys.c:16: error: expected XXX specifiers or ‘...’ before ‘data’
cap_sys.c:18: warning: return type defaults to ‘int’
cap_sys.c:18: warning: no previous prototype for ‘_syscall2’
cap_sys.c: In function ‘_syscall2’:
cap_sys.c:18: error: expected declaration specifiers before ‘_syscall2’
cap_sys.c:20: warning: traditional C rejects ISO C style function definitions
cap_sys.c:14: error: parameter name omitted
cap_sys.c:15: error: parameter name omitted
cap_sys.c:16: error: parameter name omitted
make[1]: *** [cap_sys.o] Error 1
make[1]: Leaving directory `/home/mingdao/build/cdrkit/libcap-1.10.orig/libcap'
make: *** [all] Error 2



is that the same with you? Have you solved it? I hope you could help me! Thank you for your help in advance.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with libcap meltdown_override Linux - Software 1 03-10-2007 04:51 PM
a problem while compiling libcap bayram Linux - Software 0 01-13-2007 05:22 AM
Installing Red5 - Problem @ Installing fedora-rpmdevtools Aziz Linux - Software 2 11-04-2006 02:57 PM
pppd problem with libcap.so l2g Slackware 0 04-26-2004 05:50 AM
What is libcap, and how can I make sure its installed? bripage Linux - General 2 09-26-2002 12:30 AM


All times are GMT -5. The time now is 06:39 AM.

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