I don't know much about IRIX, but I would expect the libraries to be
installed in /usr/lib(?)

BRLCAD_BUNDLED_LIBS is a flag which can be AUTO, BUNDLED, or SYSTEM.  And,
CMake should automatically detect the installed libs if it is set to AUTO.
If this detection fails because of an unusual installation directory of the
libraries, you can add the directory to the SRC_OTHER_ADDED_DIRS CMake
variable.

I don't know which versions of the XML tools will work and which won't.
What is currently used in BRL-CAD is libexslt version 0.8.15, libxml
version 2.7.8, and libxslt version1.1.26.  However, you should give your
functional ports a try.

Regards,
    Daniel

Am Do., 19. März 2020 um 23:21 Uhr schrieb Xavier Nye <[email protected]>:

> Hello, sorry for the late reply.
>
> About compiling BRL-CAD on IRIX, you said that I could use my own versions
> of libxml. Would you possibly know what the minimum supported version of
> libxml/libxslt/libexslt would be? This would be helpful as we may already
> have a functional port.
>
> Also, where are the pre-built versions of these libraries supposed to be
> installed? Am I supposed to set BRLCAD_BUNDLED_LIBS equal to the path where
> I installed these? Could you please clarify this a bit?
>
> Get Outlook for Android <https://aka.ms/ghei36>
>
> ------------------------------
> *From:* Daniel Roßberg <[email protected]>
> *Sent:* Wednesday, February 12, 2020 11:21:22 AM
> *To:* BRL-CAD Developer Mailing List <[email protected]>
> *Subject:* Re: [brlcad-devel] BRL-CAD compiling questions
>
> Hello Xavier,
>
>
> Currently I am trying to compile the latest release of BRL-CAD (7.28.0) on
> IRIX. I have a couple of questions about the compilation process and
> hopefully the answers can help me to get it to build
>
> - Currently the main problems I seem to have with getting it to build come
> from libxml. Is it possible to disable the XML module from compiling? The
> cmake file seems to suggest so but I can't quite tell how.
>
>
> First, check that the CMake variable BRLCAD_BUNDLED_LIBS is at least set
> to AUTO.  Then, install libxml, libexslt, and libxslt (everything which
> is included in the misc/tools/xmltools directory) from wherever it works.
> After this, the build shouldn't touch the xmltools directory any more.
> (Clean up the build directory before your next CMake run.)
>
> The directories included in the BRLCAD_BUNDLED_LIBS build are written to
> the SRC_OTHER_ADDED_DIRS CMake variable.
>
>
> - When cmake runs, it correctly detects the compiled as GCC 9.2 (a port to
> IRIX). However during the build process the build fails due to a compiler
> error. The make files generated by cmake are attempting to use a MIPSPro
> compiler flag (-rdata_shared) even though it detects the compiler as GCC
> 9.2. Would it be better to use something like GCC 4.2 (I think the last GCC
> that supported IRIX) or use MIPSPro?
>
>
> Without having tested it, I'm afraid that gcc 4.2 won't work.  BRL_CAD
> uses some recent C and C++ language features.  However, you could point
> CMake to the IRIX gcc to use this instead and see what happens.
>
> Regards,
>     Daniel
> _______________________________________________
> BRL-CAD Developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/brlcad-devel
>
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to