LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem Installing libcap (https://www.linuxquestions.org/questions/linux-software-2/problem-installing-libcap-696082/)

hazdingo 01-09-2009 08:26 AM

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.

bathory 01-09-2009 08:40 AM

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"

hazdingo 01-09-2009 08:42 AM

I'm getting the same error when I just type "make"

bathory 01-09-2009 09:10 AM

What is the error you get? And what distro you're using
Because I can run "make" and "make install" here (Slackware) just fine.

hazdingo 01-09-2009 09:14 AM

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?

hazdingo 01-09-2009 10:31 AM

Anybody have any ideas? I need it for work =(

bathory 01-09-2009 11:44 AM

Did you try this package?

glg 08-18-2009 09:19 PM

Quote:

Originally Posted by hazdingo (Post 3402486)
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.


All times are GMT -5. The time now is 11:01 PM.