Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Which Linux version can run Texmac smoothly?

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Which Linux version can run Texmac smoothly?


Chronological Thread 
  • From: Zhang Zhen <address@hidden>
  • To: Henri Girard <address@hidden>
  • Cc: address@hidden
  • Subject: Re: [TeXmacs] Which Linux version can run Texmac smoothly?
  • Date: Fri, 25 Nov 2016 14:43:00 -0500

Yes it can run on mac, but often freeze, after an error message:
This message will easily popped up if I want to see “Full Manuals” under “Help”

Zen 

On Nov 25, 2016, at 14:29, Henri Girard <address@hidden> wrote:


texmacs can run on mac ?
I guess the virtualbox hasn't all libs
Le 25/11/2016 à 19:47, Zhang Zhen a écrit :
I am using ubuntu 16.04 LTS in my virtual box. I known mac may have some issues, and not many people use texmacs on macosx, I guess. So I want to make it work on my virtual machine. 
Thank you so much, you are so kind. Since I have some other work to do. I will do what you said  later.
Thanks
Zen
On Nov 25, 2016, at 13:36, Henri Girard <address@hidden> wrote:

I am very surprised because 16.04 is LTS and quite a good version. Did you upgrade to 16.04.0x


Le 25/11/2016 à 19:13, Zhang Zhen a écrit :
hm, bad news, not work for me. 

On Nov 25, 2016, at 13:09, Henri Girard <address@hidden> wrote:

I forget

LDFLAGS=-lz ./configure --prefix=/usr

otherwise it won't compile as make


Le 25/11/2016 à 19:02, Zhang Zhen a écrit :
yes, I have installed libgmp-dev, I am sure. I know that because libgmp.so file is there, and I searched online someone says ‘libgmp.so’ is indeed included in libgmp-dev.

On Nov 25, 2016, at 13:00, Henri Girard <address@hidden> wrote:

./configure --prefix=/usr

You must have guile-1.8 and dev, I guess what you need is libgmp-dev

and all dev for libs dependancies gmp is not enaugh for compilation you need dev


Le 25/11/2016 à 18:54, Zhang Zhen a écrit :
ubuntu16.04.
I have checked gmp is installed. the libgmp.so file is at /usr/lib/x86_64-linux-gnu 
I have tried export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu 
and --with-lib-prefix= /usr/lib/x86_64-linux-gnu , with ./configure
Doesn’t work yet.

On Nov 25, 2016, at 12:51, Henri Girard <address@hidden> wrote:

what's your ubuntu version ? Sorry I forget


Le 25/11/2016 à 18:31, Zhang Zhen a écrit :
Sorry about misleading information,
guile-1.8-dev has been removed due to libgmpv4-dev package installation. Now I have fixed that issue by simply install libgmp-dev instead of libgmpv4-dev.
but now the problem is configuration procedure can not find the gmp library. 

checking whether C++ compiler accepts -pthread... yes
checking whether C++ compiler accepts -pthread... (cached) yes
configure: GUILE_CFLAGS:
configure: GUILE_CXXFLAGS:-pthread
configure: GUILE_CPPFLAGS:-I/usr/include -I/usr/include/guile
configure: GUILE_LIBS:-lguile -lltdl -lgmp -lcrypt -lm -lintl
configure: GUILE_LDFLAGS:
configure: Guile version 1.8
configure: Guile data path: /usr/share/guile/1.8
configure: skipping presence test for the library intl
configure: skipping presence test for the library m
configure: skipping presence test for the library crypt
checking for __gmpf_init in -lgmp... no
configure: error: compulsory library gmp not found
Have you faced the same problem?

Zen

On Nov 25, 2016, at 12:09, Zhang Zhen <address@hidden> wrote:

guile problem again, I have installed guile-1.8 and guile-1.8-dev, but configure procedure can recognize it

checking for guile18-config... no
checking for guile17-config... no
checking for guile16-config... no
checking for guile-config... no
checking for guile20-config... no
link: missing operand
Try 'link --help' for more information.
configure: error: cannot find guile-config; is Guile installed?


On Nov 25, 2016, at 11:59, Zhang Zhen <address@hidden> wrote:

Thank you so much, if it doesn’t work I will manually install deps revealed at launchpad.

On Nov 25, 2016, at 11:57, Henri Girard <address@hidden> wrote:

Texmacs ppa is no more working since 15.04, if I remenber well.

I don't remenber exactly the dependancies for texmacs : i do

sudo apt-get install build-essential cmake guile-1.8 qt4-default qt4-qmake qt4-dev-tools

Maybe this enaugh ?



Le 25/11/2016 à 17:52, Zhang Zhen a écrit :
Thanks, for sharing this. could you give me the ppa for uri for texmacs? I am not familiar with launchpad.net, still have found the way to add it to package manager.

Zen

On Nov 25, 2016, at 11:48, Henri Girard <address@hidden> wrote:

I just install karl's 1.9.9.-1 deb for 64 bits, works fine but the version is still 19.9.4 at start ?

Anyway as I said I can't use it for sage session


Le 25/11/2016 à 17:42, Zhang Zhen a écrit :
Thanks, I will try 

On Nov 25, 2016, at 11:41, Henri Girard <address@hidden> wrote:

For ubuntu 16/17 xx I do : cd src

./configure --prefix=/usr

make -j9 (8cores)

sudo make install


Le 25/11/2016 à 17:34, Zhang Zhen a écrit :
Does this mean that build from official source code version 1.99.5 will work fine on ubuntu16 ?
Karl said I need to Recompile for new libc with iconv integrated within it. Will build procedure take care of this? or I need to some other build parameters when doing “./configure” process? 



On Nov 25, 2016, at 11:30, Henri Girard <address@hidden> wrote:

Texmacs compilation was straight forward, I keep to 19.9.2 for keeping sage session working.


Le 25/11/2016 à 17:28, Henri Girard a écrit :

yes but does the ppa have source ? if yes then you shouldn't have problem


Le 25/11/2016 à 17:24, Zhang Zhen a écrit :
the origin package manager source seems doesn’t have texmacs, (ubuntu16.04).
I also tried “sudo apt build-dep texmacs_1.99.9-1-svn-10578-git-10671-3d0f17e-guile-1.8.8_amd64.deb” which deb package is downloaded from Karl’s github repo.
Do I need to add ppa?
On Nov 25, 2016, at 11:18, Henri Girard <address@hidden> wrote:

I think texmacs doesn't use qt5, I compiled with qt4 and add qt4-tools-dev qt4 default, guile 1.8

If you have any texmacs source deb you can sudo apt-get build-dep texmacs

I am trying to compile 1.99.9 now



Le 25/11/2016 à 17:14, Zhang Zhen a écrit :
Yes, the segment fault log comes from last-version 1.99.5. 
and After Karl Hegbloom told me his pre-build version, I tried his one. The version is 1.99.9.

Any suggestions? 
Thanks
Zen
On Nov 25, 2016, at 02:24, Henri Girard <address@hidden> wrote:

Sorry I misundertood apparently it's the last version ?


Le 25/11/2016 à 05:52, Zhang Zhen a écrit :
I have tried pre-build deb package, can;t work, here is the log information, seems not very helpful:
(Reading database ... 258812 files and directories currently installed.)
Preparing to unpack texmacs_1.99.9-1-svn-10578-git-10671-3d0f17e-guile-1.8.8_amd64.deb ...
Unpacking texmacs (2:1.99.9-1-svn-10578-git-10671-3d0f17e-guile-1.8.8) ...
dpkg: error processing archive texmacs_1.99.9-1-svn-10578-git-10671-3d0f17e-guile-1.8.8_amd64.deb (--install):
 trying to overwrite '/usr/share/man/man1/fig2ps.1.gz', which is also in package fig2ps 1.5-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
 texmacs_1.99.9-1-svn-10578-git-10671-3d0f17e-guile-1.8.8_amd64.deb

I also tried build from sources, facing some problems here. 
If I go to texmacs/src folder and run “./configure” will got an error “configure: error: QT plugins not found!”. Here is full log:

checking for working iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
./configure: line 6505: LC_FREETYPE: command not found
./configure: line 6510: LC_CAIRO: command not found
./configure: line 6515: LC_IMLIB2: command not found
./configure: line 6520: LC_AXEL: command not found
./configure: line 6524: LC_GS: command not found
./configure: line 6529: LC_SQL: command not found
./configure: line 6534: LC_SPARKLE: command not found
checking size of void *... 8
checking if we are on a 64-bits computer... yes
final adjustments for an Intel or AMD GNU/Linux host
checking for XML_ParserCreate in -lexpat... yes
checking for xcb_disconnect in -lxcb... yes
disabling experimental style rewriting code
./configure: line 7025: HACKED_AT_WITH_QT: command not found
enabling Qt port
configure: error: QT plugins not found!

I have checked configuration file, found it use qt-5, but not sure which library should I install. Initially I want to simply install all libqt5* libraries, but it contains conflicts can not be resolved by package manager. 

Another way as you mentioned at README file, 
...
ln -s packages/debian .
. ./setup_build_env.sh
dpkg-checkbuildeps

The checkbuildeps part printed nothing, so I guess the env is fine? But don’t know how to do next? Could you list some references?
Thanks
Zen 

On Nov 24, 2016, at 19:25, Karl Hegbloom <address@hidden> wrote:

Recompile for new libc with iconv integrated within it.

You can try my snapshot builds if you like. Since they have some modifications from Joris' trunk, please use the issue tracker on github so I can triage and forward any bug reports. https://github.com/KarlHegbloom/texmacs/releases


On Thu, Nov 24, 2016, 17:06 Zhang Zhen <address@hidden> wrote:
Hi all,
I recently tested on Ubuntu16.04/14.04 and mac os EI Capitan. When I click the “help->manual->Browser” or some other documents
it will crash. 
Here are console logs:
QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
TeXmacs] With linked TrueType support
TeXmacs] convert-error, Cannot read image file 'ramdisc://image.png' in qt_image_size
TeXmacs] warning: cannot render /home/zarzen/.TeXmacs/system/tmp/5980/tmp_27440757.png
Throwing segmentation fault
-------------------------------------------------
Error message:
  segmentation fault

System information:
  TeXmacs version  : 1.99.5
  Built by         : denis
  Building date    : Fri Jul  8 12:11:18 CEST 2016
  Operating system : linux-gnu
  Vendor           : pc
  Processor        : i686
  Crash date       : Thu Nov 24 15:54:57 PST 2016

Editor status:
  Root path          : [ 1 ]
  Current path       : [ 1, 0, 0 ]
  Shifted path       : [ 1, 0, 0 ]
  Physical selection : [] -- []

Backtrace of C++ stack:
  [0x897203c]
  [0x80a1afd]
  [0xf77f2cb0]
  [0x8871f27]
  [0x885f945]
  [0x804b43a]
  [0x86e7810]
  [0x944581e]
  [0x9492327]
  [0x944d97e]
  [0x9441744]
  [0x8b02cec]
  [0x8b077a7]
  [0x86e70a0]
  [0x942f47b]
  [0x945c177]
  [0x945c34e]
  [0x8ba5ea2]
  [0x942df59]
  [0x942e462]
  [0x94344fb]
  [0x8b01547]
  [0x894c06f]
  [0x95086ba]
  [0x955f4d2]
  [0x954702e]
  [0x955f9e1]
  [0x955fa91]
  [0x9545dfb]
  [0x9545ec1]
  [0x9508651]
  [0x86086cc]
  [0x895091b]
  [0x95a8c5f]
  [0x80481e1]

————————————————————————
I can install virtual machine and use it in on that, so any linux version is fine, just make it work.
Thanks, 
Zen





























PNG image




Archive powered by MHonArc 2.6.19.

Top of Page