[rrd-developers] Re: Compiling rrdtool-1.0.0 error

Tobias Oetiker oetiker at ee.ethz.ch
Mon Jul 26 17:21:38 MEST 1999


Today you sent me mail regarding Compiling rrdtool-1.0.0 error:

*> Hi there,
*> 
*> This is my first try at compiling rrd, and I got this error:
*> 
*> cc -c -I../src -I../gd1.3 -Dbool=char -DHAS_BOOL
*> -I/usr/local/include -g    -DVERSION=\"1.000001\" 
*> -DXS_VERSION=\"1.000001\" -fpic 
*> -I/usr/lib/perl5/5.00503/i386-linux/CORE  RRDs.c
*> In file included from RRDs.xs:6:
*> /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2546: redefinition of `union semun'
*> 
*> I took the liberty of creating a patch that solves the problem. Thanks everyone for this great tool!
*> 

hmmm this is strange I do not see this problem with my linux installation
... 

anybody seen this ?

cheers
tobi
*> Richard van den Berg (richie at neuroactive.com)
*> 
*> 
*> 
*> --== Sent via Deja.com http://www.deja.com/ ==--
*> Share what you know. Learn what you don't.

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker


-- Attached file included as plaintext by Listar --
-- File: patch.txt

diff --unified --recursive rrdtool-1.0.0/CHANGES rrdtool-1.0.1/CHANGES
--- rrdtool-1.0.0/CHANGES	Thu Jul 15 23:27:51 1999
+++ rrdtool-1.0.1/CHANGES	Mon Jul 26 16:21:45 1999
@@ -2,6 +2,10 @@
 --------------------------
 - bugfix, + enhancement, = RELEASE
 
+- 1.0.1 1999/07/26
+
+  Added HAS_UNION_SEMUN define in perl-shared directory, for perl 5.005_03
+  -- Richard van den Berg (richie at neuroactive.com)
 
 = 1.0.0 1999/07/15
 
diff --unified --recursive rrdtool-1.0.0/CONTRIBUTORS rrdtool-1.0.1/CONTRIBUTORS
--- rrdtool-1.0.0/CONTRIBUTORS	Thu Jul 15 23:16:48 1999
+++ rrdtool-1.0.1/CONTRIBUTORS	Mon Jul 26 16:16:10 1999
@@ -26,6 +26,7 @@
         Alan Lichty <alan_lichty at eli.net>
         Steen Linden <Steen.Linden at ebone.net>
         Alex van den Bogaerdt <alex at ergens.op.het.net> (rrd_resize.c)
+	Richard van den Berg <richie at neuroactive.com> (Makefile change)
 
 Documentation
 
diff --unified --recursive rrdtool-1.0.0/perl-shared/Makefile.PL rrdtool-1.0.1/perl-shared/Makefile.PL
--- rrdtool-1.0.0/perl-shared/Makefile.PL	Thu Jul 15 23:17:16 1999
+++ rrdtool-1.0.1/perl-shared/Makefile.PL	Mon Jul 26 16:44:19 1999
@@ -6,6 +6,7 @@
     'VERSION_FROM' => 'RRDs.pm', # finds $VERSION
     'OPTIMIZE'     => '-g',
     'INC'          => '-I../src -I../gd1.3',
+    'DEFINE'       => '-DHAS_UNION_SEMUN',
     'depend'	   => {'RRDs.c' => '../src/librrd.a'},
     # where to look for the necessary libraries 
     # Perl will figure out which one is valid

--
* To unsubscribe from the rrd-developers mailing list, send a message with the
  subject: unsubscribe to rrd-developers-request at list.ee.ethz.ch



More information about the rrd-developers mailing list