1 |
On 5/13/06, Matthias Bethke <matthias@×××××××.de> wrote: |
2 |
> I have a QT program that's supposed to run on a server. I never liked |
3 |
> the idea of putting all this QT runtime crap on the server just for this |
4 |
> single program, so when it still ran SuSE, I just compiled it statically |
5 |
> and all was fine. Now under Gentoo, the program complains it couldn't |
6 |
> open the display (yes, I'm using ssh -X and other X programs are fine). |
7 |
> So I thought maybe it's the switch from XF86 to X.org, can't hurt to |
8 |
> recompile with the latest libraries. But there are no static libraries |
9 |
> (libqt.a and such) installed and I don't know how to get portage to |
10 |
> install them. |
11 |
|
12 |
Well the building of static libraries is on a per package basis, so I |
13 |
guess your fastest option here is to copy the qt ebuild to your |
14 |
overlay directory and modify it to make a static library. You could |
15 |
also file a bug report on bugzilla requesting the change for qt, if |
16 |
there isn't already an existing report for this. |
17 |
|
18 |
However, my guess is that you are on the wrong track. It really |
19 |
sounds like the DISPLAY environment variable is not set correctly, or |
20 |
possibly the program is modifying it's own environment for some |
21 |
reason....maybe an strace of the program would reveal more. |
22 |
|
23 |
-Richard |
24 |
|
25 |
-- |
26 |
gentoo-user@g.o mailing list |