Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed on FreeBSD 6.x #86

Closed
giampaolo opened this issue May 23, 2014 · 4 comments
Closed

Failed on FreeBSD 6.x #86

giampaolo opened this issue May 23, 2014 · 4 comments

Comments

@giampaolo
Copy link
Owner

From [email protected] on May 11, 2010 03:24:48

What is the expected output?  


What do you see instead?  
> building '_psutil_bsd' extension
> creating build/temp.freebsd-6.4-STABLE-amd64-2.6
> creating build/temp.freebsd-6.4-STABLE-amd64-2.6/psutil
> creating build/temp.freebsd-6.4-STABLE-amd64-2.6/psutil/arch
> creating build/temp.freebsd-6.4-STABLE-amd64-2.6/psutil/arch/bsd
> cc -DNDEBUG -O2 -fno-strict-aliasing -pipe -D__wchar_t=wchar_t
-DTHREAD_STACK_SIZE=0x20000 -O2 -fno-strict-aliasing -pipe -fPIC
-I/usr/local/include/python2.6 -c psutil/_psutil_bsd.c -o
build/temp.freebsd-6.4-STABLE-amd64-2.6/psutil/_psutil_bsd.o
> In file included from /usr/include/sys/user.h:42,
>                  from psutil/_psutil_bsd.c:15:
> /usr/include/sys/ucred.h:71: error: `NGROUPS' undeclared here (not in a
function)
> In file included from /usr/include/sys/user.h:47,
>                  from psutil/_psutil_bsd.c:15:
> /usr/include/sys/proc.h:78: error: `MAXLOGNAME' undeclared here (not in a
function)
> /usr/include/sys/proc.h:78: error: variable-size type declared outside of
any function
> /usr/include/sys/proc.h:598: error: `MAXCOMLEN' undeclared here (not in a
function)
> error: command 'cc' failed with exit status 1
> *** Error code 1 What version of psutil are you using? On what operating system? psutil-0.1.3 and FreeBSD 6.4 amd64

See the two patch files.

Attachment: patch-psutil_arch_bsd_process_info.c patch-psutil_psutil_bsd.c

Original issue: http://code.google.com/p/psutil/issues/detail?id=86

@giampaolo
Copy link
Owner Author

From [email protected] on May 11, 2010 17:09:20

Committed as r547 - needs testing on FreeBSD 7.x 32 and 64bit to confirm no other unexpected side effects and 
then can be closed out as resolved.

Status: Started
Labels: OpSys-FreeBSD

@giampaolo
Copy link
Owner Author

From g.rodola on June 19, 2010 11:05:58

Verified it works on FreeBSD 7.0 32 and 64 bits.
Closing out as fixed.

Status: Fixed
Labels: Milestone-0.1.4

@giampaolo
Copy link
Owner Author

From g.rodola on June 22, 2010 12:37:55

Labels: -Milestone-0.1.4 Milestone-0.2.0

@giampaolo
Copy link
Owner Author

From g.rodola on March 02, 2013 03:52:43

Updated csets after the SVN -> Mercurial migration: r547 == revision a30013445f6b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant