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 authentication level.

bug #36780: Does not compile with guile-2.0

Submitter:  Lebreton Romain <lebreton>
Submitted:  Wed 04 Jul 2012 09:21:56 AM UTC
   
 
Category:  Compilation Priority:  3 - Low
Item Group:  Wishlist Status:  Postponed
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  None Release: 
Fixed Release:  None Fixed Release: 
Keywords: 

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

For information.

it is known that TeXmacs 1.0.7.21 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>
Group 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
http://www.texmacs.org/tmweb/download/sources.en.html
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>
Group 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>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-25 huntj Attached File- Added TeXmacs-fix_impose_guile1.patch, #30692
    2013-10-27 mdbenito Priority5 - Normal 3 - Low
        Item GroupNone Wishlist
        StatusNone Postponed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code