On Jul 5, 2014, at 6:39 PM, Kevin Horton <khorto...@gmail.com> wrote:
> On July 5, 2014 at 11:10:00 AM, Charles Lepple (clep...@gmail.com) wrote:
>> On Jul 1, 2014, at 8:32 PM, Kevin Horton <khorto...@rogers.com> wrote:
>>
>> > I note that gschem throws an error on launch, complaining that it cannot
>> > find ice-9/boot-9.scm. Installing the guile18-libs package provides this,
>> > and allows gschem to run. Perhaps geda-gaf requires a dependency on
>> > guile18-libs.
>>
>> Hi Kevin,
>>
>> Hmm, what version of OS X and Xcode are you running? I went from 10.7 to
>> 10.9 + Xcode 5.1, and I am running into a guile-snarf issue getting the code
>> to build. So I am not even to the point of launching gschem.
>>
>> Happy to add the dependency while updating to gEDA 1.8.2, but I'm trying to
>> track down the build issue before committing. I hope it doesn't involve
>> separate packages for 10.7 and 10.9.
>>
>
>
> It does not build for me now either. I am not sure whether I installed it
> via the binary distribution, or whether I built it some time ago with an
> earlier Xcode.
>
> % fink list xcode
> i xcode
> 5.1.0.0.1.1396320587-1 [virtual package
> representing the developer tools]
> i xcode.app
> 5.1.1-1 [virtual package
> representing Xcode]
>
>
> My build attempt fails with:
>
> /bin/sh ../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
> -I. -I../.. -DLOCALEDIR=\"/sw/share/locale\" -I./../include
> -I./../include/libgeda -I../.. -I/sw/include -I/include -Wall -I/sw/include
> -D_THREAD_SAFE -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include
> -I/sw/include/gtk-2.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -Os
> -pipe -MT libgeda_la-a_basic.lo -MD -MP -MF .deps/libgeda_la-a_basic.Tpo -c
> -o libgeda_la-a_basic.lo `test -f 'a_basic.c' || echo './'`a_basic.c
> mv -f .deps/libgeda_la-scheme_toplevel.Tpo
> .deps/libgeda_la-scheme_toplevel.Plo
> /bin/sh ../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
> -I. -I../.. -DLOCALEDIR=\"/sw/share/locale\" -I./../include
> -I./../include/libgeda -I../.. -I/sw/include -I/include -Wall -I/sw/include
> -D_THREAD_SAFE -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include
> -I/sw/include/gtk-2.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -Os
> -pipe -MT libgeda_la-edaerrors.lo -MD -MP -MF .deps/libgeda_la-edaerrors.Tpo
> -c -o libgeda_la-edaerrors.lo `test -f 'edaerrors.c' || echo './'`edaerrors.c
> 1 warning generated.
> 1 warning generated.
> In file included from scheme_object.c:2175:
> ./scheme_object.x:80:84: error: expected ')'
> scm_c_define_gsubr (s_translate_object_x, 3, 0, 0, (SCM (*)())
> translate_object_x); ;
>
> ^
> ./scheme_object.x:79:21: note: to match this '('
> scm_c_define_gsubr (s_set_picture_data_vector_x,
> ^
> 1 error generated.
Kevin,
That's the same error I was getting. That C file is generated from
guile-1.8-snarf.
David,
Do you have any insight on this? I was thinking it was a C preprocessor error,
but then I asked Peter Clifton, one of the gEDA developers, whether he saw
this, and he sent me the guile-snarf script that worked for him. It's from
Ubuntu's guile-2.0.9, so on a whim, I tried copying Fink's guile-2.0-snarf
script from guile20 to /sw/bin/guile-1.8-snarf, and it magically worked.
The differences mostly seem to be deep inside the sed expression, as the stuff
for setting $cpp from the $CPP environment variable seem to be equivalent.
In case it is a sed/awk-related error:
$ sed --version
sed (GNU sed) 4.2.2
$ awk --version
GNU Awk 4.1.1, API: 1.1 (GNU MPFR 3.1.2, GNU MP 6.0.0)
(These are both from Fink.)
$ fink --version
Package manager version: 0.37.0
Distribution version: selfupdate-cvs Fri Jul 4 22:26:40 2014, 10.9, x86_64
--
Charles Lepple
clepple@gmail
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
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