Hi All,
Does anyone know of 2.0.4+ RPM for RHEL 6.5 (Red Hat Enterprise Linux)? Many thanks, -T |
Hi Todd,
At the momment I can't build Librecad for RHEL 6.5 because libstdc++ is too old and fails to build in librecad/src/lib/engine/rs_layerlist.cpp lib/engine/rs_layerlist.cpp: In member function 'void RS_LayerList::sort()': lib/engine/rs_layerlist.cpp:116: error: expected primary-expression before '[' token lib/engine/rs_layerlist.cpp:116: error: expected primary-expression before ']' token lib/engine/rs_layerlist.cpp:116: error: expected primary-expression before 'const' lib/engine/rs_layerlist.cpp:116: error: expected primary-expression before 'const' lib/engine/rs_layerlist.cpp:116: error: expected unqualified-id before 'bool make[2]: *** [../../generated/librecad/obj/rs_layerlist.o] Error 1 But, if you have installed a more modern version ( not libstdc++-devel-4.4.7-4.el6.x86_64.rpm or libstdc++-devel-4.4.7-4.el6.i686.rpm ) you can compile it Required packages are: 32 bits https://build.opensuse.org/package/binary/home:Rallaz/libdxfrw?arch=i586&filename=libdxfrw-devel-0.5.12-1.1.i686.rpm&repository=RedHat_RHEL-6 https://build.opensuse.org/package/binary/home:Rallaz/libdxfrw?arch=i586&filename=libdxfrw0-0.5.12-1.1.i686.rpm&repository=RedHat_RHEL-6 64 bits https://build.opensuse.org/package/binary/home:Rallaz/libdxfrw?arch=x86_64&filename=libdxfrw-devel-0.5.12-1.1.x86_64.rpm&repository=RedHat_RHEL-6 https://build.opensuse.org/package/binary/home:Rallaz/libdxfrw?arch=x86_64&filename=libdxfrw0-0.5.12-1.1.x86_64.rpm&repository=RedHat_RHEL-6 And LibreCAD sources: https://build.opensuse.org/package/binary/home:Rallaz/LibreCAD2?arch=x86_64&filename=librecad-2.0.4-1.1.src.rpm&repository=openSUSE_Factory To build: 1. install Qt-devel and all dependencies, muparser-devel (if not are present in REHL6 you can download from http://download.opensuse.org/repositories/home:/Rallaz/RedHat_RHEL-6/) and libdxfrw-devel 2. Put a copy of librecad*.src.rpm in /usr/src/packages/SRPMS/ cd to it and 3. exec rpmbuild --rebuild (in console) |
On 06/30/2014 12:01 PM, Rallaz [via LibreCAD] wrote:
> Hi Todd, > > At the momment I can't build Librecad for RHEL 6.5 because libstdc++ is > too old and fails to build in librecad/src/lib/engine/rs_layerlist.cpp > > lib/engine/rs_layerlist.cpp: In member function 'void > RS_LayerList::sort()': > lib/engine/rs_layerlist.cpp:116: error: expected primary-expression > before '[' token > lib/engine/rs_layerlist.cpp:116: error: expected primary-expression > before ']' token > lib/engine/rs_layerlist.cpp:116: error: expected primary-expression > before 'const' > lib/engine/rs_layerlist.cpp:116: error: expected primary-expression > before 'const' > lib/engine/rs_layerlist.cpp:116: error: expected unqualified-id before > 'bool > make[2]: *** [../../generated/librecad/obj/rs_layerlist.o] Error 1 > > But, if you have installed a more modern version ( not > libstdc++-devel-4.4.7-4.el6.x86_64.rpm or > libstdc++-devel-4.4.7-4.el6.i686.rpm ) you can compile it > > Required packages are: > 32 bits > https://build.opensuse.org/package/binary/home:Rallaz/libdxfrw?arch=i586&filename=libdxfrw-devel-0.5.12-1.1.i686.rpm&repository=RedHat_RHEL-6 > https://build.opensuse.org/package/binary/home:Rallaz/libdxfrw?arch=i586&filename=libdxfrw0-0.5.12-1.1.i686.rpm&repository=RedHat_RHEL-6 > > 64 bits > https://build.opensuse.org/package/binary/home:Rallaz/libdxfrw?arch=x86_64&filename=libdxfrw-devel-0.5.12-1.1.x86_64.rpm&repository=RedHat_RHEL-6 > https://build.opensuse.org/package/binary/home:Rallaz/libdxfrw?arch=x86_64&filename=libdxfrw0-0.5.12-1.1.x86_64.rpm&repository=RedHat_RHEL-6 > > And LibreCAD sources: > https://build.opensuse.org/package/binary/home:Rallaz/LibreCAD2?arch=x86_64&filename=librecad-2.0.4-1.1.src.rpm&repository=openSUSE_Factory > > > To build: > 1. install Qt-devel and all dependencies, muparser-devel (if not are > present in REHL6 you can download from > http://download.opensuse.org/repositories/home:/Rallaz/RedHat_RHEL-6/) > and libdxfrw-devel > 2. Put a copy of librecad*.src.rpm in /usr/src/packages/SRPMS/ cd to it and > 3. exec rpmbuild --rebuild (in console) 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 |
In reply to this post by Rallaz
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 |
Hi Todd,
I do not have any REHL6, I use https://build.opensuse.org to build RPMs for OpenSuse, Mandriva and Fedora. Yes, you need to install libdxfrw 0.5.12 but, if you use a src.rpm form fedora packagers and a modern devtoolset, the best is to rebuid libdxfrw, download it from here: https://build.opensuse.org/package/binary/home:Rallaz/libdxfrw?arch=i586&filename=libdxfrw0-0.5.12-1.1.src.rpm&repository=RedHat_RHEL-6 Cheers, Rallaz |
Free forum by Nabble | Edit this page |