LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-31-2006, 09:17 AM   #1
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Rep: Reputation: 30
/usr/include/rpm: No such file or directory


My rpm is installed but the /usr/include/rpm directory is missing.
What is wrong?

# rpm -v
RPM version 4.0.3
Copyright (C) 1998-2000 - Red Hat, Inc.

# ls /usr/include/rpm
ls: /usr/include/rpm: No such file or directory

# uname -a
Linux rose 2.4.18 #22 Tue Oct 24 17:01:49 EDT 2006 i686 unknown
 
Old 10-31-2006, 09:20 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
/usr/include/rpm isn't meant to exist... what are you actually trying to accomplish?
 
Old 10-31-2006, 10:11 AM   #3
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by acid_kewpie
/usr/include/rpm isn't meant to exist... what are you actually trying to accomplish?
I want to compile a program which requires /usr/include/rpm:
...
g++ -c -x c++ -D__EXTENSIONS__ -fPIC -I ../../../../../open_ssl_vob/openssl/include -I /usr/include/rpm -DOS_LINUX -DOS_UNIX -DUSE_PTHREADS -DGCCBOOL -D_USESSL spkg-rpmshell.cpp -o linux/spkg-rpmshell.o
spkg-rpmshell.cpp:28:24: rpm/rpmlib.h: No such file or directory
 
Old 10-31-2006, 10:27 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
install rpm-devel aswell as rpm.
 
  


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
#include <task.h> : No such file or directory Eileen Programming 1 04-20-2006 03:26 AM
sh: line 1: /usr/bin/(swapd): No such file or directory QtCoder Linux - General 4 04-11-2005 05:33 PM
how do I chown a PHP file on /usr/ to allow EVERYONE to include it? cpanelskindepot Programming 2 07-16-2004 03:36 PM
cd /usr/src cd linux no such file or directory Peacedog Slackware 2 12-31-2003 03:20 PM
Clarifiacation on header file "/usr/include/a.out.h" swathisat Linux - Software 0 09-05-2003 12:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration