guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gnu: add guile-pg. (Needs help)


From: Ludovic Courtès
Subject: Re: [PATCH] gnu: add guile-pg. (Needs help)
Date: Fri, 24 Jul 2015 12:11:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Christopher Allan Webber <address@hidden> skribis:

>  - .scm files are not installed, it doesn't look like these files are
>    compiled .go files either.  The files installed look like they have
>    all whitespace and niceties stripped, which makes it had to read.
>    But that's the default from the way the package is set up to install
>    things.  Maybe doing otherwise requires setting a flag, or getting a
>    patch upstream?

Not having the .go files is OK.

Whitespace stripping is a remnant from the 1.8 and earlier days, where
doing that would speed things up (!).  I guess it’s done by running
‘guile-tools punify’, so probably you just need to patch Makefile.in to
replace that with ‘true’ or similar.

>  - I couldn't get tests to work because it was either looking to start a
>    database connection or use one that existed, and neither of those
>    worked, so I disabled tests.

Ideally a new phase added before the ‘check’ phase would spawn the pgsql
server.

>  - It installs to the wrong place, and I don't know enough about
>    autotools to fix it.  It installs to the profile's
>    "share/guile/site/" rather than "share/guile/site/2.0/"
>    so I found that it was not on my default guile path.  Not sure how to
>    deal with this.

Either there’s a configure option to pass a different installation
directory, or you’ll have to patch Makefile.in, or to move files after
installation.

No actual patch from me, but I hope this helps!  :-)

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]