cmondestin / textroom

Automatically exported from code.google.com/p/textroom
Other
0 stars 0 forks source link

sxfile/getusername.cpp:36:38: error: ‘geteuid’ was not declared in this scope #95

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Checkout sources from SVN
2. Just try to make it

What is the expected output? What do you see instead?
I've expected that make command will build it, but that what it says:
sxfile/getusername.cpp: In function ‘QString currentUserNameUnix()’:
sxfile/getusername.cpp:36:38: error: ‘geteuid’ was not declared in this 
scope
make[1]: *** [obj-debug/getusername.o] Error 1
make[1]: Leaving directory `/root/Packages/textroom/sources/library'
make: *** [sub-library-make_default-ordered] Error 2

What version of the product are you using? On what operating system?
Sources from SVN on Debian Testing.

Please provide any additional information below.
#include <unistd.h> in library/sxfile/getusername.cpp fixed it well.
Also i've built amd64 package for Debian Testing, if someone whant to install 
it. I don't have any experience in maintaining packages (only for myself), if 
somebody find someone else dependencies, I can rebuild it.

Original issue reported on code.google.com by kirvoro...@gmail.com on 23 Oct 2012 at 2:30

GoogleCodeExporter commented 8 years ago
Oh, sorry for duplicate, but why it wasn't fixed yet?

Original comment by kirvoro...@gmail.com on 23 Oct 2012 at 2:32