bugGNU TeXmacs - Bugs: bug #36780, Does not compile with guile-2.0


You are not allowed to post comments on this tracker with your current authentification level.

bug #36780: Does not compile with guile-2.0

Submitted by:  Lebreton Romain <lebreton>
Submitted on:  Wed 04 Jul 2012 09:21:56 AM UTC  
Category: CompilationPriority: 3 - Low
Item Group: WishlistStatus: Postponed
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Open
Release: Release: None
Fixed Release: NoneFixed Release: 

Tue 25 Feb 2014 06:31:14 PM UTC, comment #4:

For information.

it is known that TeXmacs compiles fine with guile 2.0,
but does not execute.
On opensuse 12.3 the configure command of comment #1 yields a mix of guile 2 and 1.
The attached patch was necessary to force guile1.

(file #30692)

John Hunt <huntj>
Sun 27 Oct 2013 12:30:44 PM UTC, comment #3:

I added the information on Guile 1.8 to the website as suggested by John Hunt, but I leave the bug open since we may really want / need to add support for Guile 2.0.

Miguel de Benito <mdbenito>
Project Member
Wed 02 Jan 2013 09:15:05 AM UTC, comment #2:

Your configure command solves the same problem on OpenSUSE 12.1 with science repository,
and the Qt version looks great, thanks !

Maybe it would be worth adding to the section 4.Configuration and build options
something like

TeXmacs does not support guile 2.0.
For systems where both guile 1.8 and 2.0 are installed the following should be used :
<your command>

John Hunt <huntj>
Wed 04 Jul 2012 11:20:40 AM UTC, comment #1:

TeXmacs does not support guile 2.0 but I still do not understand how to correctly specify that we want to link against 1.8. To overcome the difficulty should be enough to configure via something like

./configure --enable-qt \
GUILE_CFLAGS="`pkg-config --static --cflags guile-1.8`" \
GUILE_LDFLAGS="`pkg-config --static --libs guile-1.8`" \
GUILE_DATA_PATH="`pkg-config --variable=datadir guile-1.8`" \
GUILE_VERSION="`pkg-config --modversion guile-1.8`"

but I haven't tried this on Ubuntu.

Massimiliano Gubinelli <mgubi>
Project Administrator
Wed 04 Jul 2012 09:21:56 AM UTC, original submission:

Tested on Ubuntu 12.04. If guile-2.0 is installed, then configure raises no error but the compilation stop with the message

g++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link -ISystem/Misc -ISystem/Language -IKernel/Abstractions -IKernel/Containers -IKernel/Types -IData/Convert -IData/Drd -ID
ata/History -IData/Observers -IData/Document -IData/String -IData/Tmfs -IData/Tree -IScheme -IGraphics/Bitmap_fonts -IGraphics/Fonts -IGraphics/Gui -IGraphics/Mathematics -IGraphics/Renderer
-IGraphics/Handwriting -IPlugins -ITypeset -ITypeset/Bridge -ITypeset/Concat -ITypeset/Page -IEdit -IPlugins -ITexmacs -pthread -I/usr/include/guile/2.0 -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -DQTTEXMACS -Wall -Wno-return-type -O3 -fexpens
ive-optimizations -fno-rtti -fno-exceptions -c ./Scheme/Scheme/glue.cpp -o Objects/glue.o
In file included from ./Scheme/Scheme/glue.cpp:1089:0:
./Scheme/Scheme/../Glue/glue_basic.cpp: In function ‘void initialize_glue_basic()’:
./Scheme/Scheme/../Glue/glue_basic.cpp:6467:3: erreur: invalid conversion from ‘FN {aka scm_unused_struct* ()()}’ to ‘scm_t_subr {aka void}’ [-fpermissive]
/usr/include/guile/2.0/libguile/gsubr.h:68:13: erreur: initializing argument 5 of ‘scm_unused_struct* scm_c_define_gsubr(const char*, int, int, int, scm_t_subr)’ [-fpermissive]

Lebreton Romain <lebreton>
Project Member


Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by mdbenito (Posted a comment)
  • -unavailable- added by huntj (Posted a comment)
  • -unavailable- added by mgubi (Posted a comment)
  • -unavailable- added by lebreton (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 25 Feb 2014 06:31:14 PM UTChuntjAttached File-=>Added TeXmacs-fix_impose_guile1.patch, #30692
    Sun 27 Oct 2013 12:30:44 PM UTCmdbenitoPriority5 - Normal=>3 - Low
      Item GroupNone=>Wishlist

    Back to the top

    Powered by Savane 3.1-cleanup