From: | Thom Brown <thom(at)linux(dot)com> |
---|---|
To: | Dave Page <dpage(at)pgadmin(dot)org> |
Cc: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: Problem building pgadmin |
Date: | 2012-03-04 16:14:18 |
Message-ID: | CAA-aLv4PXLe+LP-v=4eUgosYRGOHeBhEZF1ebpLtkKMHs2zPFQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
On 4 March 2012 16:03, Dave Page <dpage(at)pgadmin(dot)org> wrote:
> On Sun, Mar 4, 2012 at 3:48 PM, Thom Brown <thom(at)linux(dot)com> wrote:
>> Hi all,
>>
>> I haven't tried building PgAdmin in quite a while now, so have started
>> from scratch again. I seem to be getting the following problem:
>>
>> make install-data-hook
>> make[3]: Entering directory `/home/thom/Development/pgadmin3'
>> chmod 0666 //home/thom/Development/pgadmin/share/pgadmin3/docs/en_US/pgadmin3.hhp.cached
>> chmod: cannot access
>> `//home/thom/Development/pgadmin/share/pgadmin3/docs/en_US/pgadmin3.hhp.cached':
>> No such file or directory
>> make[3]: *** [install-data-hook] Error 1
>> make[3]: Leaving directory `/home/thom/Development/pgadmin3'
>> make[2]: *** [install-data-am] Error 2
>> make[2]: Leaving directory `/home/thom/Development/pgadmin3'
>> make[1]: *** [install-am] Error 2
>> make[1]: Leaving directory `/home/thom/Development/pgadmin3'
>> make: *** [install-recursive] Error 1
>>
>> The pgadmin3.hhp.cached file used to exist in that directory until
>> mid-2011 when it was removed. Obviously it can't be critical as
>> otherwise it wouldn't still be gone, but it keeps looking for it.
>>
>> What am I doing wrong?
>
> Actually, it is kinda important in an installation, but was removed
> because it's not created automatically by the new help system. Feel up
> to tweaking the makefile so it touches the file then chmod's it? We
> only really need to install an empty file so we can set the
> permissions on it (which actually probably shouldn't be 0666) - the
> help browser will store it's cache data in there when run. Better yet,
> we should probably figure out how to make it put it in /tmp, so we
> don't need to mess around with permissions at all...
Well it sounds ridiculously trivial, so maybe I've misunderstood.
(patch attached)
And the build has stopped whining now. Thanks Dave.
--
Thom
Attachment | Content-Type | Size |
---|---|---|
create_hhp_cache.patch | text/x-patch | 293 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Guillaume Lelarge | 2012-03-04 22:23:32 | pgAdmin III commit: Update polish translation |
Previous Message | Dave Page | 2012-03-04 16:03:57 | Re: Problem building pgadmin |