Regarding Radiance Installation, Qt-based rvu, and Objline issues

Thanks Randolph.

Is there any documentation to properly install Radiance (latest one from
NREL) ? Or if you can give some hint, because I couldn't find any such
discussion on the web. Or my installation process mentioned in the trailing
is good enough. Thanks!

Vaib

···

On 21 January 2014 01:54, Randolph M. Fritz <[email protected]> wrote:

On 2014-01-19 21:16:38 +0000, Vaib said:

1. "$ rvu -o qt myScene.oct" gives me this error: rvu:

/lib/i386-linux-gnu/i686/cmov/libc.so.6: version `GLIBC_2.15' not found
(required by rvu)

The version of glibc NREL's release was built against is newer than the
one which comes with Debian Wheezy. A procedure for installing a newer
glibc is given here:
http://unix.stackexchange.com/questions/85505/need-to-
install-glibc-2-14-on-wheezy

2. "$ objline myScene.rad | x11meta" gives me this error: fatal - cannot

open file "/usr/local/lib/meta/vchars.mta", mode "r"

It looks to me like x11meta expects files at /usr/local/lib which haven't
been copied there. Check and see if that's the case.

Randolph

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

I also looked before for configure and README files, but couldn't find them
in "radiance-4.2.a-Linux.tar32.gz". May be I will look again..

···

On 21 January 2014 03:18, Randolph M. Fritz <[email protected]> wrote:

On 2014-01-21 01:25:29 +0000, Vaib said:

Thanks Randolph.

You're welcome.

  Is there any documentation to properly install Radiance (latest one from

NREL) ? Or if you can give some hint, because I couldn't find any such
discussion on the web. Or my installation process mentioned in the trailing
is good enough. Thanks!

I think once you patch up your install, that will work.

There really isn't much current documentation. Me, I'd be inclined to get
the current cvs version from radiance-online.org and follow the
instructions in the README, but that's a bit much if you aren't a software
dinosaur like me. I think one could probably create a Debian source
package without too much trouble, since most of that work is already done,
but I'm not sure of the procedures.

Rob?

Randolph

Vaib

On 21 January 2014 01:54, Randolph M. Fritz <[email protected]> >> wrote:
On 2014-01-19 21:16:38 +0000, Vaib said:

1. "$ rvu -o qt myScene.oct" gives me this error: rvu:
/lib/i386-linux-gnu/i686/cmov/libc.so.6: version `GLIBC_2.15' not found
(required by rvu)

The version of glibc NREL's release was built against is newer than the
one which comes with Debian Wheezy. A procedure for installing a newer
glibc is given here:
http://unix.stackexchange.com/questions/85505/need-to-
install-glibc-2-14-on-wheezy

2. "$ objline myScene.rad | x11meta" gives me this error: fatal - cannot
open file "/usr/local/lib/meta/vchars.mta", mode "r"

It looks to me like x11meta expects files at /usr/local/lib which haven't
been copied there. Check and see if that's the case.

Randolph

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

--
Randolph M. Fritz

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

(probably belongs on -dev, cross-posting to -general since this thread started there)

The general idea with the Linux Radiance package NREL distributes was simply to provide a tarball of the executables and library files. It's not intended to be an "installer". The thought was that if people are using Linux they probably could unpack a tarball to a proper destination and make the environment mods mentioned in any number of howtos.

That said, it would be great to offer more than that. We are working on a Chef recipe, in support of our OpenStudio-Radiance-on-the-cloud effort (!), which will be one way to easily bootstrap a Radiance box. CMake can also make an "install script package" of the Linux Radiance binaries, which is simply the tarball with a little sh wrapper that does the unarchiving. We used to post those to the OpenStudio website but I didn't think anyone was using them and they are still a big hack compared to Bernd's .deb, or our Chef script. Each of these have their own issues: the former is tied to major releases, and the latter is designed for headless installations.

I have a list of things I'd like to do in the near future:
- add files Greg added to src/util this week to CMake build system
- support incremental versions somehow (may be totally independent of the CVS, it'd just be nice to tie our installers to a HEAD vintage for general housekeeping purposes (and Chef kinda needs this))
- add a CMAKE_BUILD_HEADLESS target (this is also for Chef support but could help others)
- dial in the linking on all packages to maximize backward compatibility; this seems to be the biggest problem with Linux.
- get some reasonably reliable CMake build/test scripts together (I have some, but I'd like to make them more general so we could share them with the community)
- (really) offer incremental HEAD releases, perhaps timed to coincide with NREL's OpenStudio iteration build releases every two weeks.

If anyone has feedback or requests to go along with this list, let me know. I plan to cross all of these off by the end of February.

- Rob

···

-----Original Message-----
From: Randolph M.Fritz [mailto:[email protected]]
Sent: Monday, January 20, 2014 7:18 PM
To: [email protected]
Subject: Re: [Radiance-general] Regarding Radiance Installation, Qt-based rvu, and Objline issues

On 2014-01-21 01:25:29 +0000, Vaib said:

Thanks Randolph.

You're welcome.

Is there any documentation to properly install Radiance (latest one
from NREL) ? Or if you can give some hint, because I couldn't find any
such discussion on the web. Or my installation process mentioned in
the trailing is good enough. Thanks!

I think once you patch up your install, that will work.

There really isn't much current documentation. Me, I'd be inclined to get the current cvs version from radiance-online.org and follow the instructions in the README, but that's a bit much if you aren't a software dinosaur like me. I think one could probably create a Debian source package without too much trouble, since most of that work is already done, but I'm not sure of the procedures.

Rob?

Randolph

Vaib

On 21 January 2014 01:54, Randolph M. Fritz > <[email protected]> wrote:
On 2014-01-19 21:16:38 +0000, Vaib said:

1. "$ rvu -o qt myScene.oct" gives me this error: rvu:
/lib/i386-linux-gnu/i686/cmov/libc.so.6: version `GLIBC_2.15' not found
(required by rvu)

The version of glibc NREL's release was built against is newer than the
one which comes with Debian Wheezy. A procedure for installing a newer
glibc is given here:

http://unix.stackexchange.com/questions/85505/need-to-install-glibc-2-14-on-wheezy

2. "$ objline myScene.rad | x11meta" gives me this error: fatal -
cannot open file "/usr/local/lib/meta/vchars.mta", mode "r"

It looks to me like x11meta expects files at /usr/local/lib which
haven't been copied there. Check and see if that's the case.

Randolph

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

--
Randolph M. Fritz

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

Thank you Rob. Previously I couldn't locate the README file, but found it
now. For other readers, here is the path:

/usr/share/radiance/README.debian
/usr/share/radiance/README.gz

···

On 22 January 2014 04:57, Guglielmetti, Robert <[email protected] > wrote:

(probably belongs on -dev, cross-posting to -general since this thread
started there)

The general idea with the Linux Radiance package NREL distributes was
simply to provide a tarball of the executables and library files. It's not
intended to be an "installer". The thought was that if people are using
Linux they probably could unpack a tarball to a proper destination and make
the environment mods mentioned in any number of howtos.

That said, it would be great to offer more than that. We are working on a
Chef recipe, in support of our OpenStudio-Radiance-on-the-cloud effort (!),
which will be one way to easily bootstrap a Radiance box. CMake can also
make an "install script package" of the Linux Radiance binaries, which is
simply the tarball with a little sh wrapper that does the unarchiving. We
used to post those to the OpenStudio website but I didn't think anyone was
using them and they are still a big hack compared to Bernd's .deb, or our
Chef script. Each of these have their own issues: the former is tied to
major releases, and the latter is designed for headless installations.

I have a list of things I'd like to do in the near future:
- add files Greg added to src/util this week to CMake build system
- support incremental versions somehow (may be totally independent of the
CVS, it'd just be nice to tie our installers to a HEAD vintage for general
housekeeping purposes (and Chef kinda needs this))
- add a CMAKE_BUILD_HEADLESS target (this is also for Chef support but
could help others)
- dial in the linking on all packages to maximize backward compatibility;
this seems to be the biggest problem with Linux.
- get some reasonably reliable CMake build/test scripts together (I have
some, but I'd like to make them more general so we could share them with
the community)
- (really) offer incremental HEAD releases, perhaps timed to coincide with
NREL's OpenStudio iteration build releases every two weeks.

If anyone has feedback or requests to go along with this list, let me
know. I plan to cross all of these off by the end of February.

- Rob

-----Original Message-----
From: Randolph M.Fritz [mailto:[email protected]]
Sent: Monday, January 20, 2014 7:18 PM
To: [email protected]
Subject: Re: [Radiance-general] Regarding Radiance Installation, Qt-based
rvu, and Objline issues

On 2014-01-21 01:25:29 +0000, Vaib said:

> Thanks Randolph.

You're welcome.

> Is there any documentation to properly install Radiance (latest one
> from NREL) ? Or if you can give some hint, because I couldn't find any
> such discussion on the web. Or my installation process mentioned in
> the trailing is good enough. Thanks!

I think once you patch up your install, that will work.

There really isn't much current documentation. Me, I'd be inclined to get
the current cvs version from radiance-online.org and follow the
instructions in the README, but that's a bit much if you aren't a software
dinosaur like me. I think one could probably create a Debian source
package without too much trouble, since most of that work is already done,
but I'm not sure of the procedures.

Rob?

Randolph

>
> Vaib
>
>
> On 21 January 2014 01:54, Randolph M. Fritz > > <[email protected]> wrote:
> On 2014-01-19 21:16:38 +0000, Vaib said:
>
> 1. "$ rvu -o qt myScene.oct" gives me this error: rvu:
> /lib/i386-linux-gnu/i686/cmov/libc.so.6: version `GLIBC_2.15' not found
> (required by rvu)
>
> The version of glibc NREL's release was built against is newer than the
> one which comes with Debian Wheezy. A procedure for installing a newer
> glibc is given here:
>
>
http://unix.stackexchange.com/questions/85505/need-to-install-glibc-2-14-on-wheezy
>
>
> 2. "$ objline myScene.rad | x11meta" gives me this error: fatal -
> cannot open file "/usr/local/lib/meta/vchars.mta", mode "r"
>
> It looks to me like x11meta expects files at /usr/local/lib which
> haven't been copied there. Check and see if that's the case.
>
> Randolph
>
>
>
> _______________________________________________
> Radiance-general mailing list
> [email protected]
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
> _______________________________________________
> Radiance-general mailing list
> [email protected]
> http://www.radiance-online.org/mailman/listinfo/radiance-general

--
Randolph M. Fritz

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general