Problems with my first heekcad rapidSVN update.

Ok…. So I think I fixed my first bug in Heekscad…. and I’m trying to upload my code…But for some reason RapidSVN is giving me this error.

Execute: Update
Error: Error while performing action: Working copy ‘/home/jonas/Desktop/HeeksCAD/src’ locked
Ready

Apparently, this is not a big deal according to this:…
http://subversion.tigris.org/faq.html#wedged-wc
So… According to this all I need to do is this..
jonas@Ubuntu4:~$ svn cleanup working-copy
svn: ‘working-copy’ does not exist
jonas@Ubuntu4:~$ sudo updatedb
[sudo] password for jonas:
jonas@Ubuntu4:~$ locate working-copy
jonas@Ubuntu4:~$
Ok…. Time for the brute force method….

Fire up the not so rapid rapidSVN.
I’m going to copy my project file into the desktop and just going to blow away heekscad in my desktop.

duh….. Maybe I should read the instructions first:http://code.google.com/p/heekscad/source/checkout

Lets try this again….
For a command line I did the following:

svn checkout https://heekscad.googlecode.com/svn/trunk/ /home/jonas/Desktop/HeeksCAD –username yourusername

The first time did this….. I stuck in the password I got from http://code.google.com/p/heekscad/source/checkout when is was logged in.  Apparently you just need to do this once.

I got some interesting idea’s from this link http://www.cmcrossroads.com/content/view/6517/120/

I’m interesting in see if there is anything echo back in the makefile.

Ok… Here’s some more info on makefiles.

I keep getting errors with RapidSVN

Execute: Unlock
Error: Error while performing action: Working copy ‘/home/jonas/Desktop/HeeksCAD/src’ locked
Ready

http://makepp.sourceforge.net/1.19/makepp_statements.html

This might be the solution to my error issues I was getting

http://www.nabble.com/Error:-locked-td22086862.html

Oh…. I just tried this:

jonas@Ubuntu4:~$ sudo aptitude remove subversion
[sudo] password for jonas:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading extended state information
Initializing package states… Done
Writing extended state information… Done
Building tag database… Done
The following packages are unused and will be REMOVED:
ant ant-optional javahelp2 junit junit4 libaccess-bridge-java
libcommons-beanutils-java libcommons-collections3-java
libcommons-digester-java libcommons-logging-java libdb4.5-java
libfreemarker-java libjsch-java libjtidy-java liblucene2-java
libnb-platform7-devel-java libnb-platform7-java libopencascade6.2
libregexp-java libservlet2.3-java libswing-layout-java libtriangle-1.6
libtriangle-dev libwxbase2.6-dev libxml-commons-resolver1.1-java rhino
subversion wx2.6-headers
The following packages have been kept back:
app-install-data-commercial
The following partially installed packages will be configured:
acpid cron
0 packages upgraded, 0 newly installed, 28 to remove and 1 not upgraded.
Need to get 0B of archives. After unpacking 178MB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information… Done
(Reading database … 329334 files and directories currently installed.)
Removing ant-optional …
Removing ant …
Removing libnb-platform7-java …
Removing libnb-platform7-devel-java …
Removing javahelp2 …
Removing junit …
Removing junit4 …
Removing libaccess-bridge-java …
Removing liblucene2-java …
Removing libcommons-digester-java …
Removing libcommons-beanutils-java …
Removing libcommons-collections3-java …
Removing libcommons-logging-java …
Removing libdb4.5-java …
Removing libfreemarker-java …
Removing libjsch-java …
Removing libjtidy-java …
Removing libopencascade6.2 …
Removing libregexp-java …
Removing libservlet2.3-java …
Removing libswing-layout-java …
Removing libtriangle-dev …
Removing libtriangle-1.6 …
Removing libwxbase2.6-dev …
Removing libxml-commons-resolver1.1-java …
Removing rhino …
Removing subversion …
Removing wx2.6-headers …
Processing triggers for man-db …
Processing triggers for libc6 …
ldconfig deferred processing now taking place
Setting up cron (3.0pl1-100ubuntu2.1) …
usage: update-rc.d [-n] [-f] <basename> remove
update-rc.d [-n] <basename> defaults [NN | SS KK]
update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] […] .
-n: not really
-f: force
dpkg: error processing cron (–configure):
subprocess post-installation script returned error exit status 1
Setting up acpid (1.0.4-5ubuntu9.3) …
* Stopping Hardware abstraction layer hald                              [ OK ]
usage: update-rc.d [-n] [-f] <basename> remove
update-rc.d [-n] <basename> defaults [NN | SS KK]
update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] […] .
-n: not really
-f: force
dpkg: error processing acpid (–configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
cron
acpid
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up acpid (1.0.4-5ubuntu9.3) …
usage: update-rc.d [-n] [-f] <basename> remove
update-rc.d [-n] <basename> defaults [NN | SS KK]
update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] […] .
-n: not really
-f: force
dpkg: error processing acpid (–configure):
subprocess post-installation script returned error exit status 1
Setting up cron (3.0pl1-100ubuntu2.1) …
usage: update-rc.d [-n] [-f] <basename> remove
update-rc.d [-n] <basename> defaults [NN | SS KK]
update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] […] .
-n: not really
-f: force
dpkg: error processing cron (–configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
acpid
cron
Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading extended state information
Initializing package states… Done
Writing extended state information… Done
Building tag database… Done
jonas@Ubuntu4:~$

I don’t think that’s what I wanted to do… Oh c$%p
Well…. I think I want the libopencascade6.2 back at least… I think I got that from a backport…
Well Lets see.

Ok…. this is weird….

jonas@Ubuntu4:~$ locate libopencascade6.2
/var/lib/dpkg/info/libopencascade6.2.list
/var/lib/dpkg/info/libopencascade6.2.postrm

It appears openovations has moved libopencascade6.2 into debian and I haven’t  adjusted my sources.list yet. … (which is apparently why it go removed) I ran my compiled heekscad and it got weird on me.  I rebuilt my project from scratch thinking I was going to get a message that it was missing dependancies or something… but instead it compiled and run ok…. I don’t understand that.    More for another day….

Ok…. Sooo…. This doesn’t seem to be working… Some one one the heekscad site said he had version 9.6 working…. Ok… Doesn’t look like anybody is backporting in a fix in Ubuntu…. So….
I guess the prudent thing to do would be to go to the source so to speak… Use the source luke…
Sorry…… the family is watching galaxy quest at the moment and I seem to be having a sci-fi theme tonght…

It’s morning… Back to RapidSVN I got some install instructions from the heekscad group..

Got basic instructions on how to get this working here…http://www.tuxfiles.org/linuxhelp/softinstall.html.  I must say it very well written.  Ok… Lets put the to together…

Download the Source  http://www.rapidsvn.org/download/release/0.9.6/rapidsvn-0.9.6.tar.gz
Install following (Synaptic) :

APR(dev)  ( I clicked on libr1apr-dev)  (lib1apr, lib1aprutil1 (already installed) /We’ll see if that’s enough)
NEON(dev) ( I clicked on libneon27-dev) (libneon27, libneon27-gnutils (already installed)
Subversion Headers(clicked on libsvn-dev (that apparently loaded up a bunch of dependancies.. libsvn1,libssvncpp0c2a was already loaded)

In summary:

libapr1-dev (version 1.2.11-1) will be installed
libaprutil1-dev (version 1.2.12+dfsg-3ubuntu0.1) will be installed
libdb4.6-dev (version 4.6.21-6ubuntu1) will be installed
libldap2-dev (version 2.4.9-0ubuntu0.8.04.2) will be installed
libneon27-dev (version 0.27.2-1) will be installed
libpcre3-dev (version 7.4-1ubuntu2.1) will be installed
libpcrecpp0 (version 7.4-1ubuntu2.1) will be installed
libsqlite3-dev (version 3.4.2-2) will be installed
libsvn-dev (version 1.5.1dfsg1-1ubuntu2~hardy2) will be installed
uuid-dev (version 1.2-1.40.8-2ubuntu2) will be installed

Ok… Then here is the history of what I did.

505  cd downloads
506  ls
507  tar xvzf rapidsvn-0.9.6.tar.gz
508  ls
509  cd rapidsvn-0.9.6
510  ./configure
511  make
512  sudo make install
513  sudo ln -s /usr/local/lib/libsvncpp.so.1 /usr/lib/libsvncpp.so.1
514  rapidsvn
515  history

I had some issues when I tried to download the source so I deleted the link, the files and tried to start from scratch..  I also made the minor fix for RUNINPLACE
Ok… Lets see here’s the link:http://code.google.com/p/heekscad/wiki/CompilingForUbuntu

Ok.. I just did a

make clean
make
sudo make install
in my src directory.. Closed the terminal, fired it back up (to get to my home directory.. I fired it up worked fine..
Tried to fire up the executable in the source directory and got the error message as expected.
Back to the src directory.

After installing if I enter a
RUNINPLACE=yes make
I get a message that everything is updated.

Soo… I needed to

make clean
RUNINPLACE=yes make
And this seems to have worked fine.
So I made some changes that I want to up load…
Ok… So I’m pretty sure I did everything correctly.
I did an update, clean and commit.  and I can’t get past the password.
I keep getting bounced back to the inputbox and when I hit enter I get this:

Execute: Commit
Error: Error while performing action: Commit failed (details follow):
MKACTIVITY of ‘/svn/!svn/act/55d882bc-315a-46b3-9d66-7fd9e717e76b’: authorization failed (http://heekscad.googlecode.com)
Ready

Back from vacation…. Lets see if I can pick this up again….
Ok…. I’ve been gone for a few days so…….

I’m going to delete the reference in rapidsvn and  blow away my heekscad directory to start from scratch…… Soo…. Lets see what happens..

Fire up rapidsvn.. Select Repository=> Checkout
Enter…
Repository Url:
https://heekscad.googlecode.com/svn/trunk/

Path:
/home/jonas/Desktop/HeeksCAD

And I take a look at where I wanted to fix the RUNINPLACE code and……. It’s been fixed already…  Plus it looks like Dan Heeks and company has added a code::blocks project file….
Leave for vacation for a few days and a bunch of stuff changes….
Well…… go figure… I guess no first rapidSVN update tonight…

This entry was posted in OpenCascade, Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *