Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Compiling texmacs in Solaris 10

Subject: mailing-list for TeXmacs Users

List archive

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: Mon, 12 Jan 2009 23:08:00 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=JrZafOPRAqUoKwQwrzPIJfYoSA0gk/qAJCmF0mxgsziaDapuCMTfk0tx2H0qe26V0m hY93+ZYibKHNS2Gxi73Xc0S7/Lw8YaKAa4OQS1WH7hoPAOx0r0ho4gxqyJs9YsC+sXov TK2PA5ub+EdNkttWbIskWIvy3KYe9VLAw/+tA=

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
>> >
>> >
>


  • Re: [TeXmacs] Compiling texmacs in Solaris 10, Adrian S., 01/13/2009

Archive powered by MHonArc 2.6.19.

Top of Page