Opened 19 years ago

Closed 19 years ago

#3499 closed defect (fixed)

BUG: guile-1.6.7 doesn't build

Reported by: cjr@… Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

Mac OS X 10.4.1, with Xcode 2.1 - build fails with:

(./guile-snarf-docs -DHAVE_CONFIG_H -I.. -I./.. -I../libguile-ltdl -I/opt/local/include -no-cpp- precomp -Dmacosx -Wall -Wmissing-prototypes -fno-strict-aliasing regex-posix.c | \

./guile_filter_doc_snarfage --filter-snarfage) > regex-posix.doc
{ rm regex-posix.doc; false; }

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -I../libguile-ltdl -I/opt/local/include -no-cpp-precomp -Dmacosx -Wall -Wmissing-prototypes -fno-strict-aliasing -MT guile.o -MD -MP -MF ".deps/ guile.Tpo" -c -o guile.o guile.c; \ then mv -f ".deps/guile.Tpo" ".deps/guile.Po"; else rm -f ".deps/guile.Tpo"; exit 1; fi guile.c: In function 'main': guile.c:91: error: array type has incomplete element type guile.c:91: warning: unused variable 'lt_preloaded_symbols' make[2]: * [guile.o] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Attachments (2)

patch-guile.c (460 bytes) - added by olegb@… 19 years ago.
patch to guile.c
diff-Portfile (480 bytes) - added by olegb@… 19 years ago.
patch to Portfile

Download all attachments as: .zip

Change History (8)

comment:1 Changed 19 years ago by gwright@…

Status: newassigned

comment:2 Changed 19 years ago by gwright@…

I've updated to 10.4.1/Xcode 2.1 and can now reproduce this bug. Something's gone wring with the libguile-ltdl build. Still working on it.

-Greg

comment:3 Changed 19 years ago by m@…

Probably doesn't help but I am having the same problem, same setup. If I can help with anything let me know.

comment:4 Changed 19 years ago by gwright@…

I've stared at this bug for a while and it is pretty mysterious. (Not the final error, but why the variable is undefined.) I've verified that it occurs on FreeBSD 5.4-RELEASE as well.

Might take a few more days, especially as I've got a number of deadlines at work.

I'd welcome a good idea!

-Greg

Changed 19 years ago by olegb@…

Attachment: patch-guile.c added

patch to guile.c

Changed 19 years ago by olegb@…

Attachment: diff-Portfile added

patch to Portfile

comment:5 Changed 19 years ago by olegb@…

better made sure that the patches are here too. I have emailed them to gwright@ too.

comment:6 Changed 19 years ago by gwright@…

Resolution: fixed
Status: assignedclosed

Ole's patches committed. Embarassingly simple!

Thanks!

Greg

Note: See TracTickets for help on using tickets.