Tracker item #1960947, was opened at 2008-05-09 04:09
Message generated for change (Comment added) made by poolshark
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=1960947&group_id=204462

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: misc
Group: None
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Johnny Hughes (hughesjr)
Assigned to: Nobody/Anonymous (nobody)
Summary: procps-devel and proc/sysinfo.h

Initial Comment:
The procps package in several linux distributions does not contain the header 
file (proc/sysinfo.h) by default.

(CentOS, RHEL, Fedora, Mandriva, Ubuntu, and opensuse do not contain that 
header file by default ... it seems it is only in Debian by default)

The upstream "make install" also does not install that header.


----------------------------------------------------------------------

Comment By: Denis Leroy (poolshark)
Date: 2008-10-15 01:45

Message:
Verified. Thank you!


----------------------------------------------------------------------

Comment By: Adar Dembo (adembo)
Date: 2008-09-12 18:50

Message:
Alright, I committed a patch to git that should fix this problem. Could you
guys check it out and let me know if it doesn't work for you? Otherwise,
it'll be in the next code refresh and at that point I'll close this bug.

----------------------------------------------------------------------

Comment By: Adar Dembo (adembo)
Date: 2008-09-05 10:59

Message:
Logged In: YES 
user_id=1867590
Originator: NO

Sorry for not providing an update earlier. Our intern Daniel was going to
take a look at this but got swamped with other tasks.

I think I'll go with the solution used in those dkms packages, though
there'll be a few ripples in configure.ac, so it may take me some time to
sort it out.

----------------------------------------------------------------------

Comment By: Denis Leroy (poolshark)
Date: 2008-09-05 03:11

Message:
Logged In: YES 
user_id=95186
Originator: NO

Any updates on this ?

It's important to understand that right now, the configure script will
fail by default on EVERY linux distribution but Debian. The use of procps
should be turned on explicitly by an option rather than the other way
round.


----------------------------------------------------------------------

Comment By: Denis Leroy (poolshark)
Date: 2008-05-12 23:15

Message:
Logged In: YES 
user_id=95186
Originator: NO

Ugh, I'd get flamed to a crisp if I did this in Fedora :-) It would also
be hard to convince the Fedora/RHEL maintainer to export the header files,
since this is a deviation from upstream.

I would recommend the solution I used for my dkms packages at

http://www.poolshark.org/dkms-open-vm-tools/dkms-open-vm-tools-0-1.2008.04.14.fc8.src.rpm

This one has a patch that add the few prototypes needed to compile the
code.


----------------------------------------------------------------------

Comment By: Johnny Hughes (hughesjr)
Date: 2008-05-12 14:09

Message:
Logged In: YES 
user_id=1166174
Originator: YES

Well ... I cheated :D

I just extracted the CentOS-5 procps source and tared up the /proc header
files and added them as a Source to my open-vm-tools SRPM, then I untared
them into open-vm-tools BUILD root (in lib/include/proc modified the path
in the configure file to look in the new place.

That is not a very good option, but it was the fastest/easiest.  I will
have to track the source manually and modify the headers if required.

The other option is to create a proper -devel file for procps .. which I
would do if CentOS was not a rebuild of RHEL sources.  Since it is, I am
kind of stuck with their procps RPM as defined.

----------------------------------------------------------------------

Comment By: ECL (sopwith)
Date: 2008-05-12 12:17

Message:
Logged In: YES 
user_id=18318
Originator: NO

Hey Johnny, do you have any suggestions for viable solutions? I think we
were looking at trying to remove the dependency on libprocps, but what
other options are there from your perspective?

----------------------------------------------------------------------

Comment By: Dmitriy (bryndin)
Date: 2008-05-09 11:55

Message:
Logged In: YES 
user_id=1494464
Originator: NO

In Mandriva case, /usr/include/procps is created instead of
/usr/include/proc.
creating a soft link solves the problem.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=989708&aid=1960947&group_id=204462

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
open-vm-tools-devel mailing list
open-vm-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel

Reply via email to