Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Solved! (Was Re: Compile error)

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Solved! (Was Re: Compile error)


Chronological Thread 
  • From: Kostas Oikonomou <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] Solved! (Was Re: Compile error)
  • Date: Sat, 23 May 2015 09:30:55 -0400

I use FreeBSD, and I had the same problem.  The file "src/src"makefile" needs to be edited, and "-lz" added to the
line setting the LDGUILE variable.   It could be a configure problem.

                            Kostas

On 05/23/2015 08:02, Alexandre Dezotti wrote:
Hi,

My system is Archlinux and I use this for compiling:
https://projects.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/texmacs.

I have just tried to compile Texmacs today and had the same problem with the linker and "deflate".

Using the export command before the configure script did make the things work, that is, everything seems to compile fine.

Thank you for sharing your solution.

Doesn't it mean there is a problem with the configure/makefile ?

Best,
Alexandre.



2015-05-23 8:42 GMT+02:00 Masaru Nomiya <address@hidden>:
Hello,


> I got the source from the web, and from svn repository.
> With both souces, I got errors;

> [...]
> ,-rpath, -L/usr/lib64 -lQtGui -L/usr/lib64 -L/usr/X11R6/lib -lQtCore -lpthread -liconv -lguile -lgmp -lcrypt -lm -lltdl -lfreetype -ldl -o Objects/texmacs-shared.bin
> /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: Objects/OutputFlateEncodeStream.o: undefined reference to symbol 'deflate'
> /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: note: 'deflate' is defined in DSO /lib64/libz.so.1 so try adding it to the linker command line
> /lib64/libz.so.1: could not read symbols: Invalid operation
> collect2: error: ld returned 1 exit status
> make[1]: *** [Objects/texmacs-shared.bin] Error 1
> make[1]: Leaving directory `/tmp/tes/src/src'
> make: *** [TEXMACS] Error 2

Execute

$ export LDFLAGS=-lz

before you run the configure script.

THanks,

---
  Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp





Archive powered by MHonArc 2.6.19.

Top of Page