It's possible for LibreCAD to recompile on Redhat 5.6 ?
if it is available ? how do? expect your help! thank you very much! |
I've never tried. You have to do
Dependencies: http://sourceforge.net/projects/rallaz.u/files/libs/SRPMS/libmuparser2-2.2.2-1.1.src.rpm http://sourceforge.net/projects/rallaz.u/files/libs/SRPMS/dxflib-2.5.0.0.1-1.1.src.rpm LibreCAd 1.0.2: http://sourceforge.net/projects/rallaz.u/files/LibreCAD-SRPM/librecad-1.0.2-1.1.src.rpm/download Requires: make gcc gcc-c++ glibc-devel xz fdupes qt4-devel >= 4.4.1 libmuparser2-devel dxflib-devel (use the above src.rpm) Install src.rpm files and rebuild: http://fedoranews.org/alex/tutorial/rpm/13.shtml If you need more information say so Rallaz |
if libreCAD is recompiled successfully in redhat 5.6
the followings are required: make gcc g++ glibc-devel qt4-devel >= 4.4.1 libmuparser2-devel dxflib-devel xz fdupes what is sz and fdupes? if I meet the above conditions, can LibreCAD recompiled successfully in redhat5.6 ? |
These are the requisites for building in fedora
so I guess that also needed for red hat. Into src.rpm the sources are packaged as .xz (more compresion than tar.bz2) and fdupes are used always you make a rpm package for change duplicated files by symlink. |
should Boost Lib be installed if recompiling LibreCAD in redhat 5.6 ?
|
boost are required only for LC 2.0.0alpha.
Then a a question, recompile or compile from sources ? http://librecad.org/cms/home/from-source/linux.html |
[root@localhost Desktop]# rpmbuild --rebuild dxflib-2.5.0.0.1-1.1.src.rpm
Installing dxflib-2.5.0.0.1-1.1.src.rpm warning: InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID faf7292e Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.63742 + umask 022 + cd /usr/src/redhat/BUILD + LANG=C + export LANG + unset DISPLAY + cd /usr/src/redhat/BUILD + rm -rf dxflib-2.5.0.0-1.src + tar -xf /usr/src/redhat/SOURCES/dxflib-2.5.0.0-1.src.tar.xz tar: This does not look like a tar archive tar: Skipping to next header tar: Read 4896 bytes from /usr/src/redhat/SOURCES/dxflib-2.5.0.0-1.src.tar.xz tar: Error exit delayed from previous errors error: Bad exit status from /var/tmp/rpm-tmp.63742 (%prep) RPM build errors: InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID faf7292e Bad exit status from /var/tmp/rpm-tmp.63742 (%prep) |
The rebuild fail unpacking files (tar)
Posibilities: broken download, check if dxflib-2.5.0.0.1-1.1.src.rpm are correct SHA1: ff183c912a166c21887c7246fdc88e11af0144e4 MD5: 6fca860c1b0d32f9df287b8a611cb5be The source code are packaged into rpm as xz. You have installed xz compresion support? Another posibility to check are unpack by hand using rpm2cpio and cpio. Put "dxflib.spec" in /usr/src/redhat/SPECS and the rest of files in /usr/src/redhat/SOURCES then cd /usr/src/redhat/SPECS && rpmbuild -ba dxflib.spec |
I made some investigation and seems that RHELv5 do not support tar.xz in rpm packages but RHELv6 yes.
The src.rpm of LibreCAD do not build in v5, in v6 yes in: http://download.opensuse.org/repositories/home:/Rallaz/RedHat_RHEL-6/ you can download src and binary rpm's of LibreCAD and dependencies In http://download.opensuse.org/repositories/home:/Rallaz/RedHat_RHEL-5/ you can download src and binary rpm's of muparser. For build LC for RHELv5 I have a blocker problem: in what package are qmake? and how the file is called? (qmake, qmake-qt4, etc.) |
today,I download three files :dxflib-2.5.0.0.1-1.1.src.rpm libmuparser2-2.2.2-1.1.src.rpm and librecad-1.0.2-1.1.src.rpm ;
daxflib and libmuparser2 can rpmbuild --rebuild and rpm -ivh ;but rpmbuild --rebuild librecad1.0.2-1.1.src.rpm can't finish successfully! tips as follows: [root@localhost Desktop]# rpmbuild --rebuild librecad-1.0.2-1.1.src.rpm Installing librecad-1.0.2-1.1.src.rpm warning: InstallSourcePackage at: psm.c:244: Header V3 DSA/SHA1 Signature, key ID faf7292e: NOKEY error: line 71: Unknown tag: Recommends: librecad-parts I also download librecad-parts-1.0.2-1.1.noarch.rpm and rpm -ivh librecad-parts-1.0.2-1.1.noarch.rpm ; tips as follows: [root@localhost Desktop]# rpm -ivh librecad-parts-1.0.2-1.1.noarch.rpm warning: librecad-parts-1.0.2-1.1.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID faf7292e: NOKEY error: Failed dependencies: librecad is needed by librecad-parts-1.0.2-1.1.noarch now,I don't know how to do with problem, please help me! thanks! |
Free forum by Nabble | Edit this page |