Difference between revisions of "User:Ideogram"
(compiling on Ubuntu) |
(next step) |
||
Line 16: | Line 16: | ||
--[[User:Ideogram|Ideogram]] 14:56, 22 August 2006 (UTC) | --[[User:Ideogram|Ideogram]] 14:56, 22 August 2006 (UTC) | ||
Ok first problem, entering the echo command line gives an error: | |||
<pre> | |||
bash: /etc/apt/sources.list: Permission denied | |||
</pre> | |||
We work around that with: | |||
<pre> | |||
cp /etc/apt/sources.list ~/tmp | |||
echo "deb-src http://ftp.us.debian.org/debian/ unstable main" >> ~/tmp | |||
sudo mv ~/tmp /etc/apt/sources.list | |||
</pre> | |||
Now <pre>sudo apt-get update</pre> is giving me an error: | |||
<pre> | |||
W: GPG error: http://ftp.us.debian.org unstable Release: The following | |||
signatures couldn't be verified because the public key is not available: | |||
NO_PUBKEY 010908312D230C5F | |||
W: You may want to run apt-get update to correct these problems | |||
</pre> | |||
I'm beginning to think whoever added the echo command line earlier didn't know what he was doing. The error message says to run apt-get update (isn't that what we were doing?) so let's try running it again. | |||
Same message. I'm going to remove this line from my sources.list and see what happens. | |||
Command completed successfully this time, let's continue and see if it breaks. | |||
Uh-oh, fakeroot command not found. A quick search in Synaptic reveals it can be installed. So we install it. | |||
Compilation done! |
Revision as of 15:16, 22 August 2006
Hi, I'm embarking on a grand new adventure, contributing to Inkscape.
I intend to document everything I do here for the benefit of other people who may follow my path. With any luck parts of what I write will become useful enough to merge into other parts of this Wiki.
Ok the first task is to get away from Micro$oft and boot into a real development environment, Ubuntu Linux.
--Ideogram 14:36, 22 August 2006 (UTC)
Much better. I am using Dapper Drake. Just in case anyone doesn't know, you can find out more about Ubuntu here. Ubuntu is fun, easy, and free.
Ok, on this very wiki we have CompilingUbuntu. Let's follow it and see how it goes.
Wow that's a long list of build-dep packages. 80MB disk space. And Ubuntu gives me a scary warning about packages that can't be authenticated. Let's cross our fingers and just hit 'y'.
The download is finally finished!
--Ideogram 14:56, 22 August 2006 (UTC)
Ok first problem, entering the echo command line gives an error:
bash: /etc/apt/sources.list: Permission denied
We work around that with:
cp /etc/apt/sources.list ~/tmp echo "deb-src http://ftp.us.debian.org/debian/ unstable main" >> ~/tmp sudo mv ~/tmp /etc/apt/sources.list
Now
sudo apt-get update
is giving me an error:
W: GPG error: http://ftp.us.debian.org unstable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F W: You may want to run apt-get update to correct these problems
I'm beginning to think whoever added the echo command line earlier didn't know what he was doing. The error message says to run apt-get update (isn't that what we were doing?) so let's try running it again.
Same message. I'm going to remove this line from my sources.list and see what happens.
Command completed successfully this time, let's continue and see if it breaks.
Uh-oh, fakeroot command not found. A quick search in Synaptic reveals it can be installed. So we install it.
Compilation done!