darrenmeehan / textroom

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

Build problem under Arch Linux #90

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build textroom stable version or from svn using gcc 4.7.0, autoconf 2.69.
2. get error messages like me or User eigengrau 
(https://aur.archlinux.org/packages.php?ID=31597)
> sxfile/getusername.cpp: In function 'QString currentUserNameUnix()':
> sxfile/getusername.cpp:35:38: error: 'geteuid' was not declared in this scope 

What is the expected output? What do you see instead?
expected it to build, but it does not.

What version of the product are you using? On what operating system?
both 0.8.2 and svn are affected.

Please provide any additional information below.
having the following sed-command in my build scriptlet fixes the issue.
> sed -i '19i#include <unistd.h>' library/sxfile/getusername.cpp

Original issue reported on code.google.com by stefan-h...@t-online.de on 3 May 2012 at 4:42

GoogleCodeExporter commented 9 years ago
Please have a look at https://launchpad.net/~otto-kesselgulasch/+archive/misc

Hope this helps

Cheers

Otto

Original comment by thorsten...@gmail.com on 22 Jan 2013 at 2:07

GoogleCodeExporter commented 9 years ago
Sorry, no, Arch Linux is not a Debian-like system. 

But the problem is fixed for me by my sed-command. The report was for others 
having the same problem.

Original comment by stefan-h...@t-online.de on 23 Jan 2013 at 12:30