mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Compiling texmacs in Solaris 10


Chronological Thread 
  • From: "Adrian S." <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] Compiling texmacs in Solaris 10
  • Date: Tue, 24 Feb 2009 19:10:35 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=IyPN82lXGgNoQG+9sJ3l7+fFpspfpusjJ6euJv/TcTkyrqttTHQ64ihrs54hmfWatu MIe8aJ/vFZTHyrb404DNPUXoHdrXYr8zl+dnXIBc5QhuPP3rxMp/0Blp7AaCJdIKUvdy BkXWuMrLYn8M3Ef0a1ZtLSttbeQJSpT2H/DvI=

I tried to compile TeXmacs 1.0.7 with the instructions provided.  I tried to install it with the prefix ~/local/
and I had my PATH including ~/local/bin
I also change #!/bin/sh to #!/bin/bash in the ~/local/bin/texmacs file.  I use gmake since make gave me an error.

Everything compiled fine, but once I run texmacs, it tells me
$texmacs
Killed

And that's it.  I have no clue.  I had a previous version of Texmacs installed, but I remove the variable.

It is a mistery.

Tanks for your help, though.   I really wish this were easier...

?Any hints?

On Mon, Jan 12, 2009 at 11:08 PM, Adrian S. <address@hidden> wrote:
The university installed sun studio recently, and I tried the
instructions you gave me, and still don't know what to do...:
./configure: line 8482: syntax error near unexpected token `('
./configure: line 8482: `  echo $ECHO_N "(cached) $ECHO_C" >&6'

I might have made a mistake.  I am not so familiar with compiling on
solaris, and rely on the system administrator to install the packages
needed.

Is there a chance to post a pre-compiled binary for sun/solaris/sparc?
 That would be grand.
Or to post the source with your modifications to assure I did not make
a mistake?

Thank you.

-Adrian.


On Wed, Nov 5, 2008 at 6:14 PM, Kostas Oikonomou <address@hidden> wrote:
> Adrian,
>
> Given Sun Studio 12, you need to do only a small bit of extra work, as I
> append below.  I presume that you are basically familiar with building
> software on Solaris.
> (I am hoping that in the future this required tuning for Solaris will be
> reduced, or eliminated.)
>
>                                Kostas
>
>
> ===============================================================
> TeXmacs 1.0.7, Sun Studio 12, Guile 1.6.7, Solaris 10, Sparc
> ===============================================================
>
> 1) quadruple -> quartet in the following files:
> $ find ./ -exec grep -l quadruple {} \;
> ./src/Graphics/Gui/message.hpp
> ./src/Kernel/Containers/ntuple.hpp
> ./src/Plugins/Widkit/Basic/widkit_wrapper.cpp
> $
>
> gsed -i 's/quadruple/quartet/g' src/Graphics/Gui/message.hpp, etc.
>
>
> 2) Fix in src/Plugins/X11/x_loop.cpp:
>
>    int count = XmbLookupString (win->ic, (XKeyPressedEvent*) ev,
>  //    int count = Xutf8LookupString (win->ic, (XKeyPressedEvent*) ev,
>                           str, 256, &key, &status);
>
>
> 3) src/Typeset/boxes.hpp: add
>
> #include <time.h>
>
> 5) Edit configure:
>
> a) STD_DEBUG_FLAGS=
>
> b) Look for
>
> *sun*)
> ...
> CONFIG_BPATH="-Wl,-R,"
>
> and if compiling on Solaris x86 look also for
>
> i*86-*-solaris*)
>
> Use
>
> CONFIG_BPATH="-R/usr/lib -R/usr/openwin/lib -R/opt/qt/lib"
>
>
> ----------------------------------------------------------------------
>
> 1) $ export PATH=.:/usr/bin:/opt/bin:/usr/sfw/bin:/usr/ccs/bin:/opt/sfw/bin
>   $ type guile-config  (to check)
>
> 2) To compile a 64-bit TeXmacs, you need a 64-bit Guile library.  In my
> case, I compiled one myself and put it in /opt/extra-libs.  So if you have
> one, use a configure command like
>
> $ configure --prefix=/opt/texmacs/1.0.7 --enable-optimize='-xO3' \
> --with-freetype=linked \
> CXX='CC -m64 -Usun -xmemalign=8i -xarch=native -KPIC -library=stlport4' \
> LDFLAGS='-L/opt/extra-libs -R/opt/extra-libs'
>
> and substitute appropriately for /opt/extra-libs.
>
> If you don't have 64-bit Guile, compile a 32-bit TeXmacs by
>
> configure --prefix=/opt/texmacs/1.0.7 --enable-optimize='-xO3' \
> --with-freetype=linked CXX='CC -Usun -xarch=native -KPIC -library=stlport4'
>
>
> I hope the above makes sense!
>
>
>
> address@hidden wrote:
>>
>> I just asked, and the department does have sun studio, and can get the
>> latest version.
>>
>> Is is just a matter of doing ./configure make and make install, or what do
>> I need to do? Do I need to have something already installed?
>>
>> Thanks a bunch
>> -Adrian.
>>
>> On Nov 5, 2008 4:44pm, Kostas Oikonomou <address@hidden> wrote:
>>  > Yes, I compile it all the time, both on Sparc and Intel. I use Sun
>> Studio 12.
>>  >
>>  >
>>  >
>>  > Kostas
>>  >
>>  >
>>  >
>>  > Adrian S. wrote:
>>  >
>>  >
>>  > Is there a way to compile texmacs in solaris 10? The last version I
>>  >
>>  > could compile was Texmacs 1.0.3
>>  >
>>  >
>




Archive powered by MHonArc 2.6.19.

Top of page