GCL and zlib dependency

View: New views
3 Messages — Rating Filter:   Alert me  

GCL and zlib dependency

by Francisco Jesús Martín Mateos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello, I'm trying to compile GCL on a Opensuse 11.1 x86_64 box (using binutils
2.19) and I have a problem reported in a previous mail in this list: "binutils
induced zlib dependency". What kind of hand modification I should do to build
GCL?

I have modified the makedefc.in file to include the failed dependecy as
follows:

Line 7: LIBS=@LIBS@ /usr/lib64/libz.a

and it works but then I have a the following error:

GCL (GNU Common Lisp)  April 1994  131072 pages
Building symbol table for
/usr/src/packages/BUILD/gcl-2.6.7/unixport/raw_pre_gcl ..

Unrecoverable error: Segmentation violation..
/bin/sh: line 1:  6697 Aborted                
/usr/src/packages/BUILD/gcl-2.6.7/unixport/raw_pre_gcl
/usr/src/packages/BUILD/gcl-2.6.7/unixport/ -libdir
/usr/src/packages/BUILD/gcl-2.6.7/ < foo

Do you have any suggestion?

---
Francisco J. Martín Mateos (aka ChesKo)
Computational Logic Group
Dept. of Computer Scienca and Artificial Intelligence
Universidad of Seville (SPAIN)


_______________________________________________
Gcl-devel mailing list
Gcl-devel@...
http://lists.gnu.org/mailman/listinfo/gcl-devel

Re: GCL and zlib dependency

by Camm Maguire-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Greetings!  I believe this is addressed in current cvs snapshots, both
2.6.8pre and 2.7.0 (cvs HEAD):

cvs -d :pserver:anonymous@...:/sources/gcl \
     co -d gcl-2.6.8pre -r Version_2_6_8pre

Please let me know if problems persist here!

Take care,

Francisco Jesús Martín Mateos <fjesus@...> writes:

> Hello, I'm trying to compile GCL on a Opensuse 11.1 x86_64 box (using binutils
> 2.19) and I have a problem reported in a previous mail in this list: "binutils
> induced zlib dependency". What kind of hand modification I should do to build
> GCL?
>
> I have modified the makedefc.in file to include the failed dependecy as
> follows:
>
> Line 7: LIBS=@LIBS@ /usr/lib64/libz.a
>
> and it works but then I have a the following error:
>
> GCL (GNU Common Lisp)  April 1994  131072 pages
> Building symbol table for
> /usr/src/packages/BUILD/gcl-2.6.7/unixport/raw_pre_gcl ..
>
> Unrecoverable error: Segmentation violation..
> /bin/sh: line 1:  6697 Aborted                
> /usr/src/packages/BUILD/gcl-2.6.7/unixport/raw_pre_gcl
> /usr/src/packages/BUILD/gcl-2.6.7/unixport/ -libdir
> /usr/src/packages/BUILD/gcl-2.6.7/ < foo
>
> Do you have any suggestion?
>
> ---
> Francisco J. Martín Mateos (aka ChesKo)
> Computational Logic Group
> Dept. of Computer Scienca and Artificial Intelligence
> Universidad of Seville (SPAIN)
>
>
> _______________________________________________
> Gcl-devel mailing list
> Gcl-devel@...
> http://lists.gnu.org/mailman/listinfo/gcl-devel
>
>
>
>

--
Camm Maguire        camm@...
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah


_______________________________________________
Gcl-devel mailing list
Gcl-devel@...
http://lists.gnu.org/mailman/listinfo/gcl-devel

Re: GCL and zlib dependency

by Francisco Jesús Martín Mateos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Greetings!  I believe this is addressed in current cvs snapshots, both
> 2.6.8pre and 2.7.0 (cvs HEAD):
>
> cvs -d :pserver:anonymous@...:/sources/gcl \
>      co -d gcl-2.6.8pre -r Version_2_6_8pre
>
> Please let me know if problems persist here!
>
> Take care,

I have compiled GCL 2.6.8pre without problem (with respect to the zlib
dependency), but I have found two minor bugs:

1 - Emacs configuration was not well detected:

From the configure output:

 checking for emacs... /usr/bin/emacs
 checking emacs site lisp directory... NONE/share/emacs/site-lisp/
 checking emacs default.el... ./default.el
 checking emacs info/dir... NONE/share/info/

I have solved this using the 2.6.7 emacs configuration section:

# diff configure-2.6.8pre configure-2.6.8-CK
714c714
<   INFO_DIR=$prefix/share/info
---
>   INFO_DIR="unknown"
717c717
< INFO_DIR=`eval echo $INFO_DIR/`
---
> #INFO_DIR=`eval echo $INFO_DIR/`
724c724
<   EMACS_SITE_LISP=$prefix/share/emacs/site-lisp
---
>   EMACS_SITE_LISP="unknown"
727c727
< EMACS_SITE_LISP=`eval echo $EMACS_SITE_LISP/`
---
> #EMACS_SITE_LISP=`eval echo $EMACS_SITE_LISP/`

2 - Fail to build the info files

From the make output

mkdir -p gcl-si/index.html
touch gcl-si/index.html
makeinfo --html  gcl-si.texi
/usr/src/packages/BUILD/gcl-2.6.8pre/info/gcl-si/index.html: Is a directory
make[1]: [gcl-si/index.html] Error 1 (ignored)
mkdir -p gcl-tk/index.html
touch gcl-tk/index.html
makeinfo --html  gcl-tk.texi
/usr/src/packages/BUILD/gcl-2.6.8pre/info/gcl-tk/index.html: Is a directory
make[1]: [gcl-tk/index.html] Error 1 (ignored)

I have solved this modifying the info makefile

# diff info/makefile-2.6.8pre info/makefile-2.6.8pre-CK
61,62c61,62
< mkdir -p $@
< touch $@
---
> # mkdir -p $@
> # touch $@
66,67c66,67
< mkdir -p $@
< touch $@
---
> # mkdir -p $@
> # touch $@
71,72c71,72
< mkdir -p $@
< touch $@
---
> # mkdir -p $@
> # touch $@
#

Thanks for your help

---
Francisco J. Martín Mateos (aka ChesKo)
Computational Logic Group
Dept. of Computer Science and Artificial Intelligence
University of Seville (SPAIN)


_______________________________________________
Gcl-devel mailing list
Gcl-devel@...
http://lists.gnu.org/mailman/listinfo/gcl-devel