#54293 closed defect (fixed)
geda-gaf fails to recognize guile-2.2.2
Reported by: | mouse07410 (Mouse) | Owned by: | markemer (Mark Anderson) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | maehne (Torsten Maehne), tristancollins (Tristan Collins), cae51 | |
Port: | geda-gaf |
Description
. . . . . :info:configure checking for GUILE... no :info:configure checking for GUILE... no :info:configure configure: error: you need at least version 1.8.0 of guile . . . . .
while
$ port installed guile The following ports are currently installed: guile @2.2.2_0 (active) $
It's MacOS X 10.11.6 with Xcode-8.2 - but that's probably irrelevant. The fault is with the geda-gaf configurator that doesn't consider guile-2.2 as a valid guile installation.
Attachments (1)
Change History (13)
Changed 7 years ago by mouse07410 (Mouse)
Attachment: | geda-gaf.fail-log.txt added |
---|
comment:1 Changed 7 years ago by mf2k (Frank Schima)
Cc: | emer@… removed |
---|---|
Owner: | set to markemer |
Status: | new → assigned |
comment:3 Changed 7 years ago by maehne (Torsten Maehne)
Cc: | maehne added |
---|
comment:4 Changed 7 years ago by tristancollins (Tristan Collins)
Cc: | tristancollins added |
---|
comment:5 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | cae51 added |
---|
Has duplicate #54545.
comment:6 Changed 7 years ago by kencu (Ken)
On my machine the following quick-n-dirty
addition allowed the build to proceed against guile 2.2.2 through to near the end
configure.env-append GUILE_CFLAGS="-D_THREAD_SAFE -I/opt/local/include/guile/2.2 -I/opt/local/include" configure.env-append GUILE_LIBS="-L/opt/local/lib -lguile-2.2 -lgc"
but unfortunately it died in the link stage
Undefined symbols for architecture x86_64: "_scm_internal_stack_catch", referenced from: _parse_commandline in gnetlist-parsecmd.o ld: symbol(s) not found for architecture x86_64
and here there may be no happiness coming, because that function was declared deprecated some time back, and it has most likely been removed from guile-2.2
.
SO - you can peg guile at guile 2.0.14
(probably what I would do), or go looking for an update to geda-gaf.
To that end, I notice there is an unstable
branch of 1.9.2 <http://wiki.geda-project.org/geda:download> and there's the tip of the dev tree at <http://git.geda-project.org/geda-gaf/>. I didn't notice any references to either guile 2.2 or scm_internal_stack_catch
, but you might get lucky I suppose.
comment:7 Changed 7 years ago by kencu (Ken)
Ah, there is another method, I see. It is possible to make geda-gaf build with guile18, and there is such a port just now on MacPorts. I have this built, installed, and apparently working, but I don't know enough about geda-gaf to say if it works properly and as it should. I can put this up for you to try out and see what you think about it.
comment:8 Changed 7 years ago by kencu (Ken)
please feel free to check it out <https://github.com/macports/macports-ports/pull/792>
comment:9 Changed 7 years ago by markemer (Mark Anderson)
I'm cool with this. I didn't realize that was an option, it's been driving me NUTS. I don't like that we have to use ancient guile, but eh. It builds now!
comment:10 Changed 7 years ago by markemer (Mark Anderson)
And I can confirm 1.9.2 does not compile with guile 2.2 - I've been wanting to update forever.
Also it's sad, but it seems development on geda-gaf has stalled a bit. It's not dead, but it's not what it used to be.
comment:11 Changed 7 years ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:12 Changed 7 years ago by kencu (Ken)
If you have time someday, please feel free to post up a little "how to set up geda-gaf" in macports note. This seems to work (you tell me) but I get error boxes for missing configs and the object libraries don't populate. I think it's not guile18. but the setup.
when updating, it'll be more of a PITA because that libguile18.h header will need a repatch most likely. --K
log of "port upgrade geda-gaf"