mailing-list for TeXmacs Users

Text archives Help


Re: Guile 3!


Chronological Thread 
  • From: HG <address@hidden>
  • To: address@hidden
  • Subject: Re: Guile 3!
  • Date: Wed, 25 Mar 2020 09:17:24 +0100

I use SID and ubuntu 20.04. The most difficult is to get all deps. Darcy shen wrote a good help in the mailing list (sorry I don't find it again) I am looking for it. I am not an expert but it's easy to compile it. I compile sagemath too which is a little more difficult. guile compiling (mail 24/03/2019)


Step by step guide to make a debian package for GNU Guile 1.8.8 by yourself

Step 1: Prepare your build environment.

sudo apt install devscripts

Step 2: Clone the texmacs branch of guile.

git clone --depth 10 -b texmacs --single-branch  address@hidden:texmacs/guile.git

Step 3: Make your own debs.

cd guile
dpkg-buildpackage -us -uc -b

Great! Now the wanted debs has been generated:

$ ls ../*deb
../guile-1.8_1.8.8+1-10_amd64.deb         ../guile-1.8-dev_1.8.8+1-10_amd64.deb  ../guile-1.8-libs_1.8.8+1-10_amd64.deb
../guile-1.8-dbgsym_1.8.8+1-10_amd64.deb  ../guile-1.8-doc_1.8.8+1-10_all.deb    ../guile-1.8-libs-dbgsym_1.8.8+1-10_amd64.deb

Install guile-1.8, guile-1.8-dev, guile-1.8-libs via dpkg.



Le 25/03/2020 à 00:03, Massimiliano Gubinelli a écrit :
You could try to use the qt5+guile2 branch in my repo to see if you have more luck. If you experience compilationb problems then let me know exaclty on which system so that I can investigate.

Best
m


On 24. Mar 2020, at 23:35, Thierry Michel <address@hidden> wrote:

Using : libqt5core5a      5.12.5

I don't really have sufficient knowledge for compiling ... debian case ought to be similar to Ubuntu.

On Tue, Mar 24, 2020 at 1:29 PM Massimiliano Gubinelli <address@hidden> wrote:
They seem more related to qt. Which version are you using?
Don't hesitate to send me all the output from the building process.
m


On 24. Mar 2020, at 20:39, Thierry Michel <address@hidden> wrote:

Great news on progress with guile2 !!  Thank you

... tried compiling on update debian/sid distro:

branch: guile3
guile-version: 3.0
cd src; autoreconf -fiv
./configure --enable-guile2  # no errors
make
.....
/usr/bin/ld: Objects/texmacs.o:(.qtversion[qt_version_tag]+0x0): undefined reference to `qt_version_tag'
/usr/bin/ld: Objects/texmacs.o: in function `QTMApplication::set_window_icon(string)': texmacs.cpp:(.text._ZN14QTMApplication15set_window_iconE6string[_ZN14QTMApplication15set_window_iconE6string]+0x2d1): undefined reference to `QString::fromAscii_helper(char const*, int)'
/usr/bin/ld: texmacs.cpp:(.text._ZN14QTMApplication15set_window_iconE6string[_ZN14QTMApplication15set_window_iconE6string]+0x2e1): undefined reference to `QIcon::QIcon(QString const&)'
... 
loads of linking errors.

On Sat, Mar 21, 2020 at 10:25 AM Massimiliano Gubinelli <address@hidden> wrote:
You have to patch configure as follows:
diff --git a/src/configure b/src/configure
index a070f36fd..f8f625884 100755 --- a/src/configure
+++ b/src/configure
@@ -8305,7 +8305,7 @@ $as_echo "#define GUILE_B 1" >>confdefs.h        (1.8 | 1.9)
 $as_echo "#define GUILE_C 1" >>confdefs.h
  ;;
-      (2.*)
+      (2.* | 3.*)
 $as_echo "#define GUILE_D 1" >>confdefs.h

             # Check whether --enable-guile2 was given.


It is now in the git repository.
Max



> On 21. Mar 2020, at 17:24, Marco Atzeri <address@hidden> wrote:
>
>
>
> Am 21.03.2020 um 17:14 schrieb Marco Atzeri:
>> Am 21.03.2020 um 16:41 schrieb Marco Atzeri:
>>> Am 18.03.2020 um 22:56 schrieb Massimiliano Gubinelli: >>>
>>> $ git branch --list >>> * master
>>>
>> learning something new every day ...
>> $ git clone -b guile3 https://github.com/mgubi/texmacs.git >> $ git branch --list
>> * guile3
>
> but still does not work
>
> /cygdrive/d/cyg_pub/devel/texmacs/prova/TeXmacs-1.99.12-1.1.x86_64/src/src/configure --srcdir=/cygdrive/d/cyg_pub/devel/texmacs/prova/TeXmacs-1.99.12-1.1.x86_64/src/src --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/TeXmacs --htmldir=/usr/share/doc/TeXmacs/html -C --with-iconv=/usr --with-imlib2=linked --with-qt=/usr/lib/qt5 --enable-guile2 >
> checking for guile18-config... no > checking for guile1.8-config... no > checking for guile16-config... no > checking for guile1.6-config... no > checking for guile1-config... no > checking for guile-config... guile-config
> configure: Guile version 3.0 > configure: error: Guile version unmanaged.
>
> are you using CMake ?
>






Archive powered by MHonArc 2.6.19.

Top of page