1 |
Try this: |
2 |
|
3 |
1) ebuild /usr/portage/app-office/gnucash/gnucash-1.6.8.ebuild compile |
4 |
(you can ctrl-c it if you want while its compiling. Let configure |
5 |
finish though) |
6 |
|
7 |
2) head /var/tmp/portage/gnucash-1.6.8/work/gnucash-1.6.8/config.status |
8 |
|
9 |
You should see the configure line used |
10 |
|
11 |
I.e. |
12 |
|
13 |
#! /bin/sh |
14 |
# Generated automatically by configure. |
15 |
# Run this file to recreate the current configuration. |
16 |
# This directory was configured as follows, |
17 |
# on host scuzzlebutt: |
18 |
# |
19 |
# ./configure --prefix=/usr --host=i686-pc-linux-gnu |
20 |
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share |
21 |
--sysconfdir=/etc --localstatedir=/var/lib --enable-rpc |
22 |
# |
23 |
# Compiler output produced by configure, useful for debugging |
24 |
# configure, is in ./config.log if it exists. |
25 |
|
26 |
|
27 |
See if --enable-sql is in yours. It's not in mine since I don't use |
28 |
postgres. |
29 |
|
30 |
|
31 |
-Tom |
32 |
|
33 |
|
34 |
|
35 |
Richard Reich wrote: |
36 |
> The USE file is definately a usefull thing, but I don't have the |
37 |
> ./configure options that were used. I have postgres installed, and set |
38 |
> in the USE var, but gnucash didn't emerge with postgres support. I took |
39 |
> a peek at the ebuild and there is support in there for postgres. I may |
40 |
> be hunting down a bug. |
41 |
> |
42 |
> Thanks for you help. |
43 |
> |
44 |
> -Richard Reich |
45 |
> |
46 |
> On Tue, 2002-11-19 at 08:51, Christian Skarby wrote: |
47 |
> |
48 |
>>Under /var/db/pkg you'll find a directory-structure quite equal to what we |
49 |
>>have in /usr/portage, find you package (app-office/gnucash) in that |
50 |
>>directory and inside you'll find a file named USE. I believe that that |
51 |
>>file will reflect the active USE-flags last time portage installed the |
52 |
>>actual package on your system. |
53 |
>> |
54 |
>>(1) /var/db/pkg/app-office/gnucash/USE |
55 |
>> |
56 |
>>Christian |
57 |
>> |
58 |
>> |
59 |
>>>Is there a way to retrieve the configure options from an ebuild that has |
60 |
>>>been previously installed? |
61 |
>>> |
62 |
>>>The reason I'm looking for this, is that I put postgres in my USE var, |
63 |
>>>and then compiled gnucash. I was expecting to be able to use the |
64 |
>>>postgres db as the backend for gnucash. But when I followed the |
65 |
>>>instructs in the README I got an error from gnucash stating that it was |
66 |
>>>not compiled with sql support. |
67 |
>>> |
68 |
>>>I tried looking through the config.log file, but it wasn't too |
69 |
>>>helpfull. It basicly just stated that it could not find the libpq-fe.h |
70 |
>>>header file in 2 differnt directories, but never had a final failure |
71 |
>>>message stating that it could not find the file or a message stating |
72 |
>>>that it did find it. |
73 |
>>> |
74 |
>>>-Richard Reich |
75 |
>>> |
76 |
>>> |
77 |
>>>-- |
78 |
>>>gentoo-dev@g.o mailing list |
79 |
>> |
80 |
>> |
81 |
>> |
82 |
>> |
83 |
>>-- |
84 |
>>gentoo-dev@g.o mailing list |
85 |
>> |
86 |
>> |
87 |
> |
88 |
> |
89 |
> |
90 |
> |
91 |
> -- |
92 |
> gentoo-dev@g.o mailing list |
93 |
> |
94 |
|
95 |
|
96 |
|
97 |
|
98 |
-- |
99 |
gentoo-dev@g.o mailing list |