* 1.8.6 build error
@ 2008-12-09 16:07 Ben Isajiw
2008-12-09 20:15 ` Neil Jerram
0 siblings, 1 reply; 5+ messages in thread
From: Ben Isajiw @ 2008-12-09 16:07 UTC (permalink / raw)
To: bug-guile
Hi,
I apologize if this is wrong email list for my question. Please provide correct list.
I try to build guile 1.8.6 as requirement for autogen as requirement for Anjuta. First error was cannot find libltdl.so.7. I don't know how to include my library directory in build (/usr/local/lib) so I copy libltdl.* to /usr/lib. Then I can get past first error but get strange error as shown:
In file included from ../libguile/_scm.h:53,
from alist.c:24:
../libguile/numbers.h:362:2: error: #error sizeof(char) is not 1.
../libguile/numbers.h:383:2: error: #error sizeof(short) is not 1, 2, or 4.
../libguile/numbers.h:400:2: error: #error sizeof(int) is not 4 or 8.
../libguile/numbers.h:416:2: error: #error sizeof(long) is not 4 or 8.
../libguile/numbers.h:432:2: error: #error sizeof(scm_t_intmax) is not 4 or 8.
../libguile/numbers.h:460:2: error: #error sizeof(size_t) is not 4 or 8.
In file included from alist.c:24:
../libguile/_scm.h:147:4: error: #error sizeof(off_t) is not 4 or 8.
make[2]: *** [alist.x] Error 1
make[2]: Leaving directory `/tmp/Download/guile-1.8.6/libguile'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/Download/guile-1.8.6'
make: *** [all] Error 2
I don't think sizeof(char) is possibly not 1 so error is false. I appreciate it greatly and kind regards.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 1.8.6 build error
2008-12-09 16:07 1.8.6 build error Ben Isajiw
@ 2008-12-09 20:15 ` Neil Jerram
[not found] ` <512776.63265.qm@web53902.mail.re2.yahoo.com>
2008-12-10 9:47 ` Ludovic Courtès
0 siblings, 2 replies; 5+ messages in thread
From: Neil Jerram @ 2008-12-09 20:15 UTC (permalink / raw)
To: Ben Isajiw; +Cc: bug-guile
2008/12/9 Ben Isajiw <xtraaf@yahoo.com>:
> Hi,
>
> I apologize if this is wrong email list for my question. Please provide correct list.
This is the correct list.
> I try to build guile 1.8.6 as requirement for autogen as requirement for Anjuta. First error was cannot find libltdl.so.7. I don't know how to include my library directory in build (/usr/local/lib) so I copy libltdl.* to /usr/lib. Then I can get past first error but get strange error as shown:
>
> In file included from ../libguile/_scm.h:53,
> from alist.c:24:
> ../libguile/numbers.h:362:2: error: #error sizeof(char) is not 1.
> ../libguile/numbers.h:383:2: error: #error sizeof(short) is not 1, 2, or 4.
I think these are consequences of libltdl not being found at
configuration time. (This prevents some of the test programs from
running.) The easiest solution would be for you to fully install
libltdl (including -dev packages, if using a distro like Debian where
those are split off) in /usr, and then try the build again. Is that
feasible?
Regards,
Neil
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 1.8.6 build error
[not found] ` <512776.63265.qm@web53902.mail.re2.yahoo.com>
@ 2008-12-09 22:37 ` Neil Jerram
2008-12-09 23:23 ` Ben Isajiw
0 siblings, 1 reply; 5+ messages in thread
From: Neil Jerram @ 2008-12-09 22:37 UTC (permalink / raw)
To: Ben Isajiw, bug-guile
2008/12/9 Ben Isajiw <xtraaf@yahoo.com>:
>
> Yes, this is feasible as I can root Fedora 10 distribution of course. But maybe I'm not sure where -dev package for libltdl are served. Can you link me please?
I don't know Fedora very well, but from a bit of googling it looks
like you should install the packages "libtool-ltdl" and
"libtool-ltdl-devel".
> And shall I return to ./configure after install them?
Yes, please.
Neil
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 1.8.6 build error
2008-12-09 22:37 ` Neil Jerram
@ 2008-12-09 23:23 ` Ben Isajiw
0 siblings, 0 replies; 5+ messages in thread
From: Ben Isajiw @ 2008-12-09 23:23 UTC (permalink / raw)
To: Neil Jerram, bug-guile
Neil,
Your solution is successful after I first un-install previous libtool-ltdl with rpm -e because conflicted rpm install to /usr. Thank you for your best support. Maybe future ./configure will recognize situation.
Kind Regards
----- Original Message ----
From: Neil Jerram <neiljerram@googlemail.com>
To: Ben Isajiw <xtraaf@yahoo.com>; bug-guile@gnu.org
Sent: Tuesday, December 9, 2008 3:37:46 PM
Subject: Re: 1.8.6 build error
2008/12/9 Ben Isajiw <xtraaf@yahoo.com>:
>
> Yes, this is feasible as I can root Fedora 10 distribution of course. But maybe I'm not sure where -dev package for libltdl are served. Can you link me please?
I don't know Fedora very well, but from a bit of googling it looks
like you should install the packages "libtool-ltdl" and
"libtool-ltdl-devel".
> And shall I return to ./configure after install them?
Yes, please.
Neil
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 1.8.6 build error
2008-12-09 20:15 ` Neil Jerram
[not found] ` <512776.63265.qm@web53902.mail.re2.yahoo.com>
@ 2008-12-10 9:47 ` Ludovic Courtès
1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2008-12-10 9:47 UTC (permalink / raw)
To: bug-guile
Hi,
"Neil Jerram" <neiljerram@googlemail.com> writes:
>> I try to build guile 1.8.6 as requirement for autogen as requirement for Anjuta. First error was cannot find libltdl.so.7. I don't know how to include my library directory in build (/usr/local/lib) so I copy libltdl.* to /usr/lib. Then I can get past first error but get strange error as shown:
>>
>> In file included from ../libguile/_scm.h:53,
>> from alist.c:24:
>> ../libguile/numbers.h:362:2: error: #error sizeof(char) is not 1.
>> ../libguile/numbers.h:383:2: error: #error sizeof(short) is not 1, 2, or 4.
>
> I think these are consequences of libltdl not being found at
> configuration time.
To make `configure' diagnostics clearer, I added a check for <ltdl.h>:
http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commitdiff;h=96e3f63af02a4ddc944933ad14b566f130a31826;hp=bbfbb2a7cd6313978435ce57283fb09ad002c04a
Thanks,
Ludo'.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-12-10 9:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-09 16:07 1.8.6 build error Ben Isajiw
2008-12-09 20:15 ` Neil Jerram
[not found] ` <512776.63265.qm@web53902.mail.re2.yahoo.com>
2008-12-09 22:37 ` Neil Jerram
2008-12-09 23:23 ` Ben Isajiw
2008-12-10 9:47 ` Ludovic Courtès
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).