From Fedora Project Wiki

Line 8: Line 8:


<pre>
<pre>
# Get the SRPM
# Download the SRPM
wget http://sparks.fedorapeople.org/Packages/limesurvey/limesurvey-1.86-1.fc12.src.rpm
wget http://sparks.fedorapeople.org/Packages/limesurvey/limesurvey-1.86-1.fc12.src.rpm


# Rebuild the SRPM for your platform
# Make a place to build RPMs in your homedir
mkdir $HOME/rpm $HOME/rpm/SOURCES $HOME/rpm/SPECS $HOME/rpm/BUILD $HOME/rpm/SRPMS $HOME/rpm/RPMS $HOME/rpm/RPMS/i386
 
# Set the directories you just created
# as the place where you'll be building RPMs
echo "%_topdir $HOME/rpm" >> $HOME/.rpmmacros
 
# Install the RPM
rpm -ivh limesurvey-1.86-1.fc12.src.rpm
</pre>
 
=== Error messages so far ===
 
I have an md5sum error message, which is weird because rpm -Kv checks out. [[User:Mchua|Mel Chua]] 02:48, 16 December 2009 (UTC)
 
<pre>
[mchua@publictest6 ~]$ rpm -Kv limesurvey-1.86-1.fc12.src.rpm
limesurvey-1.86-1.fc12.src.rpm:
    Header SHA1 digest: OK (3ceb86a3f683a8ccd3e14cfbace76326adb5a2f3)
    MD5 digest: OK (f5fd6892b1897ce0f2d566d4882378b5)
[mchua@publictest6 ~]$ rpm -ivh limesurvey-1.86-1.fc12.src.rpm
  1:limesurvey            warning: user christensene does not exist - using root
warning: group christensene does not exist - using root
########################################### [100%]
error: unpacking of archive failed on file /home/fedora/mchua/rpm/SPECS/limesurvey.spec;4b284911: cpio: MD5 sum mismatch
[mchua@publictest6 ~]$
</pre>
</pre>

Revision as of 02:48, 16 December 2009

Install the package

This package is still under review, BZ #508817. However, we can still deploy and test the current SRPM.

Note.png
THESE INSTRUCTIONS DO NOT YET WORK. They are being written as a work in progress as we learn how to set up a sandbox ourselves.

Do these actions as a normal user. DO NOT RUN THEM AS ROOT!

# Download the SRPM
wget http://sparks.fedorapeople.org/Packages/limesurvey/limesurvey-1.86-1.fc12.src.rpm

# Make a place to build RPMs in your homedir
mkdir $HOME/rpm $HOME/rpm/SOURCES $HOME/rpm/SPECS $HOME/rpm/BUILD $HOME/rpm/SRPMS $HOME/rpm/RPMS $HOME/rpm/RPMS/i386

# Set the directories you just created
# as the place where you'll be building RPMs
echo "%_topdir $HOME/rpm" >> $HOME/.rpmmacros

# Install the RPM
rpm -ivh limesurvey-1.86-1.fc12.src.rpm

Error messages so far

I have an md5sum error message, which is weird because rpm -Kv checks out. Mel Chua 02:48, 16 December 2009 (UTC)

[mchua@publictest6 ~]$ rpm -Kv limesurvey-1.86-1.fc12.src.rpm 
limesurvey-1.86-1.fc12.src.rpm:
    Header SHA1 digest: OK (3ceb86a3f683a8ccd3e14cfbace76326adb5a2f3)
    MD5 digest: OK (f5fd6892b1897ce0f2d566d4882378b5)
[mchua@publictest6 ~]$ rpm -ivh limesurvey-1.86-1.fc12.src.rpm 
   1:limesurvey             warning: user christensene does not exist - using root
warning: group christensene does not exist - using root
########################################### [100%]
error: unpacking of archive failed on file /home/fedora/mchua/rpm/SPECS/limesurvey.spec;4b284911: cpio: MD5 sum mismatch
[mchua@publictest6 ~]$