Fixes for TeXmacs 1.0.7.2 to compile on OpenSolaris with SunStudio compilers

View: New views
2 Messages — Rating Filter:   Alert me  

Fixes for TeXmacs 1.0.7.2 to compile on OpenSolaris with SunStudio compilers

by Kostas Oikonomou :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

To build TeXmacs 1.0.7.2 on OpenSolaris with the SunStudio
compilers, I had to make the following small changes to the
source:


a) src/Typeset/boxes.hpp: add #include <time.h>

b) src/Guile/Scheme/evaluate.cpp

void
initialize_guile () {
   //  const char* init_prg =
   char* init_prg =
     "(read-set! keywords 'prefix)\n"
     "(read-enable 'positions)\n"

c) src/Typeset/Boxes/Modifier/change_boxes.cpp

box
action_box (const path& ip, const box& b, const tree&
filter, const command& cmd, const bool& ch) {
   return tm_new<action_box_rep> (ip, b, filter, cmd, ch,
decorate ());
}


I hope these fixes can be included in the next release.

                                Kostas


_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@...
http://lists.gnu.org/mailman/listinfo/texmacs-dev

Re: Fixes for TeXmacs 1.0.7.2 to compile on OpenSolaris with SunStudio compilers

by Joris van der Hoeven :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Kostas,

Thanks for your suggestions.
Would it be possible for you to create an account on Savannah?
In that case, I can give you write access to the SVN.
Don't forget to #ifdef OS_SUN specific code for solaris.
Also, if you access to a Linux machine, it is always wise to double check.

Best wishes, --Joris


On Thu, Sep 24, 2009 at 04:44:26PM -0400, Kostas Oikonomou wrote:

> Hi,
>
> To build TeXmacs 1.0.7.2 on OpenSolaris with the SunStudio
> compilers, I had to make the following small changes to the
> source:
>
>
> a) src/Typeset/boxes.hpp: add #include <time.h>
>
> b) src/Guile/Scheme/evaluate.cpp
>
> void
> initialize_guile () {
>   //  const char* init_prg =
>   char* init_prg =
>     "(read-set! keywords 'prefix)\n"
>     "(read-enable 'positions)\n"
>
> c) src/Typeset/Boxes/Modifier/change_boxes.cpp
>
> box
> action_box (const path& ip, const box& b, const tree&
> filter, const command& cmd, const bool& ch) {
>   return tm_new<action_box_rep> (ip, b, filter, cmd, ch,
> decorate ());
> }
>
>
> I hope these fixes can be included in the next release.
>
> Kostas
>
>
> _______________________________________________
> Texmacs-dev mailing list
> Texmacs-dev@...
> http://lists.gnu.org/mailman/listinfo/texmacs-dev


_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@...
http://lists.gnu.org/mailman/listinfo/texmacs-dev