* Porting GNU Projects - Guile
@ 2009-07-29 15:14 bornlibra23
2009-07-29 19:25 ` Mike Gran
0 siblings, 1 reply; 6+ messages in thread
From: bornlibra23 @ 2009-07-29 15:14 UTC (permalink / raw)
To: Guile-devel
Hello People
I am trying to port various GNU products to Stratus OpenVOS platform
including the guile project. However I am stuck currently for the lack of
wide & multibyte character support. Can somebody guide me to an
implementation of the same that I can port first. The glibc is also proving
a monster to port for various reasons. I have tried to build the wide
character support of glibc separately but it didnt workout. Can somebody
isolate the code & guide me in implementing it on VOS? This is proving to be
a major blocker. Please help
Thanks
bornlibra23
libtool: compile: "/<<Path>>/OpenSource/guile-1.8.6/build-aux/compile" gcc
-DHAVE_CONFIG_H -I.. -I.. -I.. -D_POSIX_C_SOURCE=200112L -D_BSD_SOURCE
-D_SYSV -D_VOS_EXTENDED_NAMES -Wall -Wmissing-prototypes -Werror -MT
libguile_la-srfi-14.lo -MD -MP -MF .deps/libguile_la-srfi-14.Tpo -c
srfi-14.c -o libguile_la-srfi-14.o
srfi-14.c: In function `scm_srfi_14_compute_char_sets':
srfi-14.c:1531: warning: suggest parentheses around comparison in operand of
|
gmake[3]: *** [libguile_la-srfi-14.lo] Error 1
gmake[3]: Leaving directory `<<Path>>/OpenSource/guile-1.8.6/libguile'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `<<Path>>/OpenSource/guile-1.8.6/libguile'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `<<Path>>/OpenSource/guile-1.8.6'
gmake: *** [all] Error 2
--
View this message in context: http://www.nabble.com/Porting-GNU-Projects---Guile-tp24721426p24721426.html
Sent from the Gnu - Guile - Dev mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Porting GNU Projects - Guile
2009-07-29 15:14 Porting GNU Projects - Guile bornlibra23
@ 2009-07-29 19:25 ` Mike Gran
2009-07-30 4:10 ` bornlibra23
0 siblings, 1 reply; 6+ messages in thread
From: Mike Gran @ 2009-07-29 19:25 UTC (permalink / raw)
To: bornlibra23, Guile-devel
> From: bornlibra23 <awarikoo@nse.co.in>
>
> Hello People
> I am trying to port various GNU products to Stratus OpenVOS platform
> including the guile project. However I am stuck currently for the lack of
> wide & multibyte character support. Can somebody guide me to an
> implementation of the same that I can port first. The glibc is also proving
> a monster to port for various reasons. I have tried to build the wide
> character support of glibc separately but it didnt workout. Can somebody
> isolate the code & guide me in implementing it on VOS? This is proving to be
> a major blocker. Please help
> Thanks
> bornlibra23
Hi-
I'm a little unclear on what you need first. It is
1. Guile doesn't do multibyte characters.
or
2. You are having problems building GNU programs in general because it is
hard to get glibc's multibyte characters to work.
If it is the former (#1) case, it is true that Guile doesn't do multi-byte.
There is an experimental version of Guile in the Git repository that does do
multi-byte characters, but, it is still brand new and not well tested.
But, FWIW, it is the git string_abstraction2 tree. Hopefully the multi-byte
chars support will make its way into mainline Guile in time for 2.0.
If it is the latter case, I imagine that porting GNU libc is tricky. I
tried it once, years ago, and it was painful.
For Guile compilation problems in general for a new platform, it might help
to use the "--disable-error-on-warning" options for Guile's ./configure
at first when trying to get it to compile.
Also, I saw that you were trying to compile 1.8.6. There is a 1.8.7, which
has some bug fixes.
-Mike
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Porting GNU Projects - Guile
2009-07-29 19:25 ` Mike Gran
@ 2009-07-30 4:10 ` bornlibra23
2009-07-30 19:54 ` Neil Jerram
0 siblings, 1 reply; 6+ messages in thread
From: bornlibra23 @ 2009-07-30 4:10 UTC (permalink / raw)
To: Guile-devel
Thanks Mike for the heads up but the problem I think is with the source code
itself. I get the same error on linux though it doesnt die there. I
preprocessed the code & changed the line like so :
From (((((ch) == ' ' | (ch) == '\t') to (((((ch) == ' ' || (ch) == '\t')
(note the or operator) & the problem went away but then I had the mentioned
problem. I will build it again & get back to you. My build log seems to be
dated.
--
View this message in context: http://www.nabble.com/Porting-GNU-Projects---Guile-tp24721426p24731881.html
Sent from the Gnu - Guile - Dev mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Porting GNU Projects - Guile
2009-07-30 4:10 ` bornlibra23
@ 2009-07-30 19:54 ` Neil Jerram
[not found] ` <24969386.post@talk.nabble.com>
0 siblings, 1 reply; 6+ messages in thread
From: Neil Jerram @ 2009-07-30 19:54 UTC (permalink / raw)
To: bornlibra23; +Cc: Guile-devel
bornlibra23 <awarikoo@nse.co.in> writes:
> Thanks Mike for the heads up but the problem I think is with the source code
> itself. I get the same error on linux though it doesnt die there. I
> preprocessed the code & changed the line like so :
>>From (((((ch) == ' ' | (ch) == '\t') to (((((ch) == ' ' || (ch) == '\t')
> (note the or operator) & the problem went away but then I had the mentioned
> problem. I will build it again & get back to you. My build log seems to be
> dated.
FWIW this is fixed in Guile's master branch:
#ifdef HAVE_ISBLANK
# define CSET_BLANK_PRED(c) (isblank (c))
#else
# define CSET_BLANK_PRED(c) \
(((c) == ' ') || ((c) == '\t'))
#endif
I guess it was missed for a long time because it is rare to have an OS
that doesn't provide isblank().
Regards,
Neil
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-08-17 3:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-29 15:14 Porting GNU Projects - Guile bornlibra23
2009-07-29 19:25 ` Mike Gran
2009-07-30 4:10 ` bornlibra23
2009-07-30 19:54 ` Neil Jerram
[not found] ` <24969386.post@talk.nabble.com>
2009-08-14 21:29 ` Neil Jerram
2009-08-17 3:57 ` bornlibra23
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).