Share

Nagios Plugin Development

Tracker: Bugs

5 1.4.4/5 - regex_internal.h:458:20: alloca.h: No such file or - ID: 1614164
Last Update: Comment added ( a1exus )

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -I../plugins
-I/usr/local/ssl/include -g -O2 -MT regex.o -MD -MP -MF ".deps/regex.Tpo"
-c -o regex.o regex.c; \
then mv -f ".deps/regex.Tpo" ".deps/regex.Po"; else rm -f
".deps/regex.Tpo"; exit 1; fi
In file included from regex.c:55:
regex_internal.h:458:20: alloca.h: No such file or directory
gmake[4]: *** [regex.o] Error 1
gmake[4]: Leaving directory `/usr/local/src/nagios-plugins-1.4.5/lib'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/local/src/nagios-plugins-1.4.5/lib'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/local/src/nagios-plugins-1.4.5/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/nagios-plugins-1.4.5'
gmake: *** [all] Error 2
d# find . -name regex.c
./lib/regex.c
d# find . -name alloca.h
d#


alexus ( a1exus ) - 2006-12-12 17:38

5

Closed

None

Ton Voon

Compilation

Release (specify)

Public


Comments ( 5 )

Date: 2007-01-25 05:12
Sender: a1exus


works fine with latest snapshot


Date: 2007-01-18 03:20
Sender: sf-robotSourceForge.net Site Admin


This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).


Date: 2007-01-03 09:50
Sender: tonvoonProject Admin


Alexus,

Can you please try the snapshot at http://nagiosplug.sf.net/snapshot?
There has been a fix to the generation of alloca.h.

Ton


Date: 2006-12-26 15:13
Sender: a1exus


this is what i did for "work-around"

alexus@d:/usr/local/src/nagios-plugins-1.4.5> cd lib
alexus@d:/usr/local/src/nagios-plugins-1.4.5/lib> ls -la alloca.h
lrwxr-xr-x 1 root wheel 34 Dec 12 22:39 alloca.h ->
/usr/src/gnu/usr.bin/sort/alloca.h
alexus@d:/usr/local/src/nagios-plugins-1.4.5/lib>


Date: 2006-12-26 08:13
Sender: daspez


Try compiling using the "--without-included-regex" parameter.

I have had the same issue under FreeBSD 5.5 and it compiles using the
above paramter.

HIH.

David


Attached File

No Files Currently Attached

Changes ( 5 )

Field Old Value Date By
status_id Pending 2007-01-18 03:20 sf-robot
close_date 2007-01-03 09:50 2007-01-18 03:20 sf-robot
status_id Open 2007-01-03 09:50 tonvoon
assigned_to nobody 2007-01-03 09:50 tonvoon
close_date - 2007-01-03 09:50 tonvoon