[dsc] dsc Digest, Vol 62, Issue 1

Christian Petrasch petrasch at denic.de
Thu Aug 14 12:14:59 UTC 2014


Hi Anand, 

i forwarded your question to a colleague of mine with very good c++ 
knowledge and he had a look:

#####################################################

Hi,

I don't have CentOS 7, but I could reproduce the Problem on FreeBSD 10 
with gnu-make 3.82.
Line 6 of makefile is:

TODAY != date +%Y%m%d

I don't know what the assignment "!=" should do, I've never seen this 
before. I'm only aware of =, +=, ?= and :=
(see 
http://stackoverflow.com/questions/448910/makefile-variable-assignment)

If you remove that line (the varaible TODAY is only used when building a 
tar file from CVS), make 3.82 works for me.

The native BSD-make and gnu-make 3.81 don't have any problem with Line 6, 
so indeed, this seems to be a specific
problem/feature of gnu-make 3.82.

Best Regards,
Patrick

#########################################################

I hope we could help you..

hope to see you at Los Angeles or London

greetz..

Christian
-- 
Christian Petrasch 

DENIC eG
Kaiserstraße 75-77
60329 Frankfurt am Main
GERMANY





Von:    dsc-request at measurement-factory.com
An:     dsc at measurement-factory.com, 
Datum:  13.08.2014 20:00
Betreff:        dsc Digest, Vol 62, Issue 1
Gesendet von:   dsc-bounces at measurement-factory.com



Send dsc mailing list submissions to
                 dsc at measurement-factory.com

To subscribe or unsubscribe via the World Wide Web, visit
                 http://www.measurement-factory.com/mailman/listinfo/dsc
or, via email, send a message with subject or body 'help' to
                 dsc-request at measurement-factory.com

You can reach the person managing the list at
                 dsc-owner at measurement-factory.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dsc digest..."


Today's Topics:

   1. DSC's collector fails to compile on CentOS 7 (Anand Buddhdev)


----------------------------------------------------------------------

Message: 1
Date: Wed, 13 Aug 2014 17:21:34 +0200
From: Anand Buddhdev <anandb at ripe.net>
To: "dsc at measurement-factory.com" <dsc at measurement-factory.com>
Subject: [dsc] DSC's collector fails to compile on CentOS 7
Message-ID: <53EB827E.3010807 at ripe.net>
Content-Type: text/plain; charset=ISO-8859-1

Hello DSC users and devs,

I'm trying to compile DSC on CentOS 7, and it's failing. I'm building
dsc-201203250530. The specific error I get is:

# cd /builddir/build/BUILD/dsc-201203250530/collector/dsc/
# ./configure
...
[ configure output ]
...
# make
Makefile:6: *** missing separator.  Stop.

This exact sequence works fine on CentOS 6, but fails on CentOS 7.

If I diff the Makefiles produced by CentOS 6 and CentOS 7, I see:

< LDFLAGS +=             # from configure
< CFLAGS += -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic          # 
from
configure
---
> LDFLAGS += -Wl,-z,relro                # from configure
> CFLAGS += -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
  -m64 -mtune=generic            # from configure


The other difference is that CentOS 6 has make version 3.81, and CentOS
7 has make version 3.82.

I can't see anything obviously wrong with the Makefile on line 6, but
perhaps I'm missing something obvious. Any ideas?

Regards,

Anand


------------------------------

_______________________________________________
dsc mailing list
dsc at measurement-factory.com
http://www.measurement-factory.com/mailman/listinfo/dsc


End of dsc Digest, Vol 62, Issue 1
**********************************




More information about the dsc mailing list