[esp-r] Re: Building 11.9 on Ubuntu: Creating binary plant databases [plantc.db1] does not complete

Jon Hand jon at esru.strath.ac.uk
Wed Nov 3 18:49:24 GMT 2010


With the GCC 4.4 you will need to include the directives --gcc4 --compiler_version -4.4

the gcc3-fpe should probably not be used.

The path issue - install ESP-r to a shorter path e.g.  /usr/esru   or /opt/esru
or /home/lars/esru

-Jon Hand
________________________________________
From: esp-r-bounces at lists.strath.ac.uk [esp-r-bounces at lists.strath.ac.uk] On Behalf Of Lars O. Grobe [grobe at gmx.net]
Sent: 03 November 2010 12:05
To: esp-r at lists.strath.ac.uk
Subject: [esp-r] Building 11.9 on Ubuntu: Creating binary plant databases [plantc.db1] does not complete

Hi all,

this is my first email to the list. I am an architect with some deeper
interest in building performance simulation, especially with some
background in Radiance and related tools, currently focussing a bit more
on ESP-r.

I am just trying to build esp-r 11.9 on my Ubuntu 10.10 AMD64 system.

I am calling the install script as such:

Install -d $(CURDIR)/debian/tmp/usr --force --xml --X11 --gcc3-fpe --silent

As I am on a recent Ubuntu installation, my gcc is 4.4, not 4.1.

Unfortunately I have experienced that the build kind of hangs when
installing the standard databases. The last lines of output from the
install script indicate:

  Installing standard databases. This may take some time.
    - Removing existing databases... Done.
    - Creating binary materials databases... Done.
    - Creating binary event profiles databases ... Done.
    - Creating binary plant databases [plantc.db1]...

There is no further progress, pdb is running for hours at 100% CPU load.

Another side-note, I found what looks like a limitation on the path
string during build:

make[2]: Betrete Verzeichnis '/home/lars/packaging/esp-r/espr-11.9/src/lib'
gfortran  -I../include -I../shocc -I/usr/local/include
-I../cetc/h3kreports -DLIN -DX11    -fno-automatic  -DGCC4 -c
esru_libNonGTK.F
../include/espinstalldir.h:3.18:
     Included at esru_libNonGTK.F:3931:

        instpath = '/home/lars/packaging/esp-r/espr-11.9/debian/tmp/usr/e
                   1
Error: Unterminated character constant beginning at (1)

The instpath string variable obviously got cut off. This will never
appear for people building ESP-r with a target such as /usr or /opt, but
those trying to work with a deeper directory tree will find the build to
fail.

Cheers, Lars.




More information about the esp-r mailing list