Login  Register

Re: RPM for RHEL 6.x?

Posted by Todd on Jun 30, 2014; 10:41pm
URL: https://forum.librecad.org/RPM-for-RHEL-6-x-tp5710092p5710116.html


Hi Rallaz,

Wow.  Thank you.  It is pretty far over my head unfortunately.

Can you do a devtoolset-1.1 which has g++ and which accepts -std=c++11?

http://ftp.scientificlinux.org/linux/scientific/6rolling/x86_64/external_products/devtoolset/

To fire it up, you have to do a
   scl enable devtoolset-2 'bash'
In your command window.

I got this far and had to give up:

# rpmbuild --rebuild librecad-2.0.4-1.fc19.src.rpm
...
lib/filters/rs_filterdxfrw.cpp: In member function 'virtual void
RS_FilterDXFRW::writeHeader(DRW_Header&)':
lib/filters/rs_filterdxfrw.cpp:1479:22: error: 'class DRW_Header' has no
member named 'addInt'
                  data.addInt(it.key().toStdString(),
it.value().getInt(), it.value().getCode());


Others told me I need a newer libdxfrw

Many thanks,
-T