Xymon Mailing List Archive search

Error running gmake install

3 messages in this thread

list Lars Ebeling · Mon, 11 Apr 2005 07:42:01 +0200 (CEST) ·
Hi,
 I have tested to run make install on 2 machines (32-bits and 64-bits kernels).
I get the same error on both:
 cd webfiles; find . ö grep -v RCS ö grep -v DIST ö ../../build/setup-newfiles /o
pt/hobbit/server/web/ ../../build/md5.dat                                       Loading md5-data ... OK                                                         Installing new file /opt/hobbit/server/web/report_form_daily                    Installing new file /opt/hobbit/server/web/report_form_weekly                   /bin/sh: 23720 Memory fault(coredump)                                           gmakeÄ1Å: *** Äinstall-cfgÅ Error 139                                           gmakeÄ1Å: Leaving directory é/opt/hobbit/hobbit-4.0.2/hobbitd'                  gmake: *** Äinstall-hobbitdÅ Error 2          Regards
Lars                                   

Hobbithobbyist

"If you run UNIX and you don't have a UPS, you should see a psychiatrist...."
--Byte Magazine (years ago)
list Henrik Størner · Mon, 11 Apr 2005 11:30:50 +0200 ·
quoted from Lars Ebeling
On Mon, Apr 11, 2005 at 07:42:01AM +0200, lars ebeling wrote:
 I have tested to run make install on 2 machines (32-bits and 64-bits kernels).
I get the same error on both:
 cd webfiles; find . ö grep -v RCS ö grep -v DIST ö ../../build/setup-newfiles /o
pt/hobbit/server/web/ ../../build/md5.dat                                       Loading md5-data ... OK                                                         Installing new file /opt/hobbit/server/web/report_form_daily                    Installing new file /opt/hobbit/server/web/report_form_weekly                   /bin/sh: 23720 Memory fault(coredump)                                           
I thought that issue had been resolved some time ago.

Are you sure you installed as root, so you had permissions to update
the files ?

Anyway, check if there's a core file in hobbit-4.0.2/hobbitd/webfiles/
- if there is, then do the usual

    $ cd hobbit-4.0.2
    $ gdb build/setup-newfiles hobbitd/webfiles/core
    ...
    gdb> bt

and send me the output.


Thanks,
Henrik
list Henrik Størner · Mon, 11 Apr 2005 12:35:35 +0000 (UTC) ·
quoted from Lars Ebeling
In <user-66c3cc190cf2@xymon.invalid> lars ebeling <user-b8ea1138b488@xymon.invalid> writes:
I have tested to run make install on 2 machines (32-bits and 64-bits kernels).
I get the same error on both:

cd webfiles; find . � grep -v RCS � grep -v DIST � ../../build/setup-newfiles /opt/hobbit/server/web/ ../../build/md5.dat
quoted from Henrik Størner
Loading md5-data ... OK
Installing new file /opt/hobbit/server/web/report_form_daily
Installing new file /opt/hobbit/server/web/report_form_weekly
/bin/sh: 23720 Memory fault(coredump)
This turned out to be a file-descriptor leak in the "setup-newfiles"
tool used during installation. (It's an old bug - just haven't seen it
before). If you do run into this, there's a patch at
http://www.hswn.dk/hobbitsw/hobbit-4.0.2-setup.patch that fixes it.


Regards,
Henrik