On Mon, May 12, 2014 at 8:18 PM, Greg Hamerly <ghame...@gmail.com> wrote:
> On Mon, May 12, 2014 at 7:10 PM, Alexander Hansen <
> alexanderk.han...@gmail.com> wrote:
>
>> On 5/12/14, 4:19 PM, Greg Hamerly wrote:
>>
>>> Hi,
>>>
>>> My goal is to install gnucash2. I have been using fink and gnucash for
>>> years. Last week I changed to a new computer with a fresh OSX 10.9.2. I
>>> installed fink, but can't install gnucash2 because it fails installing
>>> autogen-5.18.2-3.
>>>
>>> I uninstalled fink and reinstalled, and tried installing gnucash2 first
>>> thing. Still fails.
>>>
>>
>> That's as it should be, because Fink ties to build the same way
>> regardless of what is installed. Removing Fink doesn't change the result
>> unless you suspect that your Fink installation has brought in linkages from
>> elsewhere.
>>
>>
> Thanks for the quick response!
>
>
>>
>>
>>> Below are the relevant error messages during the compilation.
>>>
>>> I have tried following this thread:
>>> http://www.mail-archive.com/fink-users@lists.sourceforge.
>>> net/msg39804.html
>>>
>>
>> That refers to a completely different error message, so it's not going to
>> help here.
>>
>
> Okay, thanks... it's just the closest I'd found.
>
>
>>
>> but "xcode-select --install" leads to an error (and had previously been
>>> done successfully), and when I open Xcode, I don't see an option to
>>> upgrade the command line tools.
>>>
>>> Best,
>>> - greg
>>>
>>>
>>> ------------------------------------------------------------
>>> ------------------------------------
>>> [snip]
>>> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-autogen-5.18.2-3
>>> /sw/src/fink.build
>>> dpkg-deb: building package `fink-buildlock-autogen-5.18.2-3' in
>>> `/sw/src/fink.build/fink-buildlock-autogen-5.18.2-3_
>>> 2014.05.12-17.30.49_darwin-x86_64.deb'.
>>> Installing build-lock package...
>>> /sw/bin/dpkg-lockwait -i
>>> /sw/src/fink.build/fink-buildlock-autogen-5.18.2-3_
>>> 2014.05.12-17.30.49_darwin-x86_64.deb
>>> Selecting previously deselected package fink-buildlock-autogen-5.18.2-3.
>>> (Reading database ... 12864 files and directories currently installed.)
>>> Unpacking fink-buildlock-autogen-5.18.2-3 (from
>>> .../fink-buildlock-autogen-5.18.2-3_2014.05.12-17.30.49_
>>> darwin-x86_64.deb)
>>> ...
>>> Setting up fink-buildlock-autogen-5.18.2-3 (2014.05.12-17.30.49) ...
>>>
>>> sudo -u fink-bld [ENV] sh -c /tmp/fink.VLnwJ
>>> env LANG=C LC_ALL=C /sw/bin/tar --no-same-owner --no-same-permissions
>>> -xf /sw/src/autogen-5.18.2.tar.gz
>>> sudo -u fink-bld [ENV] sh -c /tmp/fink.PIk36
>>> [ -r /sw/fink/dists/stable/main/finkinfo/editors/autogen.patch ]
>>> sudo -u fink-bld [ENV] sh -c /tmp/fink.bycPZ
>>> patch -p1 < /sw/fink/dists/stable/main/finkinfo/editors/autogen.patch
>>> patching file configure
>>>
>>> [snip]
>>>
>>> checking whether sigsetjmp() links okay... yes
>>> checking whether with-libguile was specified... no
>>> checking whether with-libguile-cflags was specified... no
>>> checking whether with-libguile-libs was specified... no
>>> configure: guile-config used for CFLAGS: -I/sw/include/guile/2.0
>>> -I/sw/include -D_THREAD_SAFE
>>> configure: guile-config used for LIBS: -L/sw/lib -lguile-2.0 -lgc
>>> checking whether libguile can be linked with... no
>>> configure: error: Cannot find libguile. libguile is required. Perhaps
>>> you need to install guile-devel?
>>> ### execution of /tmp/fink.7itqQ failed, exit code 1
>>> ### execution of /tmp/fink.KC5Tx failed, exit code 1
>>> Removing runtime build-lock...
>>> Removing build-lock package...
>>> /sw/bin/dpkg-lockwait -r fink-buildlock-autogen-5.18.2-3
>>> (Reading database ... 12865 files and directories currently installed.)
>>> Removing fink-buildlock-autogen-5.18.2-3 ...
>>> Failed: phase compiling: autogen-5.18.2-3 failed
>>>
>>> Before reporting any errors, please run "fink selfupdate" and try again.
>>> Also try using "fink configure" to set your maximum build jobs to 1 and
>>> attempt to build the package again.
>>> If you continue to have issues, please check to see if the FAQ on Fink's
>>> website solves the problem. If not, ask on one (not both, please) of
>>> these mailing lists:
>>>
>>> The Fink Users List <fink-users@lists.sourceforge.net
>>> <mailto:fink-users@lists.sourceforge.net>>
>>>
>>> The Fink Beginners List <fink-beginn...@lists.sourceforge.net
>>> <mailto:fink-beginn...@lists.sourceforge.net>>,
>>>
>>>
>>> with a carbon copy to the maintainer:
>>>
>>> David Fang <fang...@users.sourceforge.net
>>> <mailto:fang...@users.sourceforge.net>>
>>>
>>>
>>> Note that this is preferable to emailing just the maintainer directly,
>>> since most fink package maintainers do not have access to all possible
>>> hardware and software configurations.
>>>
>>> Please try to include the complete error message in your report. This
>>> generally consists of a compiler line starting with e.g. "gcc" or "g++"
>>> followed by the actual error output from the compiler.
>>>
>>> Also include the following system information:
>>> Package manager version: 0.36.4.1
>>> Distribution version: selfupdate-rsync Mon May 12 17:24:24 2014, 10.9,
>>> x86_64
>>> Trees: local/main stable/main
>>> Xcode.app: 5.1.1
>>> Xcode command-line tools: 5.1.0.0.1.1396320587
>>> Max. Fink build jobs: 8
>>> ------------------------------------------------------------
>>> ------------------------------------
>>>
>>>
>>>
>> Check the config.log file in
>> /sw/src/fink.build/autogen-5.18.2-3/autogen-5.18.2
>> (or whatever the build directory actually is). That may have some
>> information about what the test is and why it's failing.
>
>
> The config.log is attached. The relevant portion seems to be (but I could
> be wrong):
>
>
> ------------------------------------------------------------------------------------------------
> [snip]
> configure:15438: checking whether with-libguile was specified
> configure:15445: result: no
> configure:15464: checking whether with-libguile-cflags was specified
> configure:15471: result: no
> configure:15482: checking whether with-libguile-libs was specified
> configure:15489: result: no
> configure:15515: guile-config used for CFLAGS: -I/sw/include/guile/2.0
> -I/sw/include -D_THREAD_SAFE
> configure:15522: guile-config used for LIBS: -L/sw/lib -lguile-2.0 -lgc
> configure:15539: checking whether libguile can be linked with
> configure:15564: gcc -o conftest -g -O2 -I/sw/include
> -I/sw/include/guile/2.0 -I/sw/include -D_THREAD_SAFE -L/sw/lib conftest.c
> -ldl -L/sw/lib -lintl -L/sw/lib -lguile-2.0 -lgc >&5
> In file included from conftest.c:141:
> In file included from /sw/include/guile/2.0/libguile.h:37:
> In file included from /sw/include/guile/2.0/libguile/async.h:28:
> In file included from /sw/include/guile/2.0/libguile/threads.h:36:
> In file included from /sw/include/guile/2.0/libguile/pthread-threads.h:33:
> /sw/include/guile/2.0/libguile/bdw-gc.h:47:10: fatal error: 'gc/gc.h' file
> not found
> #include <gc/gc.h>
> ^
> 1 error generated.
> configure:15564: $? = 1
> [snip]
>
> ------------------------------------------------------------------------------------------------
>
>
>
Okay! I'm happy to report that the problem is solved. I installed the fink
package "gc", and after that I was able to install autogen without a
problem (though there were a lot of clang error messages that did pass by,
but I think those were okay). I was ultimately able to install gnucash (my
original goal).
So it seems that autogen needs an explicit dependency on gc, at least for
OSX 10.9.2.
Best,
- greg
> Thanks again! Best regards,
>
> - greg
>
>
>
>>
>>
>> --
>> Alexander Hansen, Ph.D.
>> Fink User Liaison
>> My package updates: http://finkakh.wordpress.com/
>>
>
>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users