ubuntu 12.04 woes

Post your question about installing or upgrading QCAD.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Post one question per topic.

Post Reply
User avatar
hungerburg
Premier Member
Posts: 160
Joined: Fri May 28, 2010 7:35 pm

ubuntu 12.04 woes

Post by hungerburg » Tue Aug 28, 2012 11:27 pm

I could not resist, when upgrade-manger suggested that ubuntu 12.04.1 was available for my 10.04 box, I took the bait. What a mess that turned out. Especially it centers around multi-arch. To make the long story short, here is what I found: The ia32-libs package is to be removed some time in the future, Adobe Reader is not installable at all and skype also acts up. I can live without those two for some time, but not without qcad 8)

Step by step procedure:
- Install the multi-arch package
- install attached qcad3-deps package: $ sudo dpkg -i qcad3-deps_1.0_i386.deb
- ignore the error message of missing dependencies
- force repair of same qcad3-deps package: $ sudo apt-get -f install

The package can be recreated from attached control file with this command:
$ equivs-build --arch i386 qcad3-deps.txt

It worked for me, if you experience problems, please post them here, I have notifications turned on.

Kind regards

Peter
Attachments
qcad3-deps_1.0_i386.rar
Package for ubuntu 12 to populate the system with the necessary dependencies to run qcad3 , after download, rename from ".rar" to ".deb" (the forum software would not allow me to upload a ".deb" file...)
(2.47 KiB) Downloaded 1528 times
qcad3-deps.txt
control file for equivs
(917 Bytes) Downloaded 1520 times

User avatar
hungerburg
Premier Member
Posts: 160
Joined: Fri May 28, 2010 7:35 pm

Re: ubuntu 12.04 woes

Post by hungerburg » Wed Aug 29, 2012 11:55 am

Indeed, ubuntu 12.04 precise seems to be in the middle of a transition to a revamped multi-arch system. For a fully working 32bit subsystem maybe this command should also be uttered in some terminal: $ sudo apt-get install --reinstall lsb-core

A happy QCAD 3 user

Peter

RayArdia
Full Member
Posts: 90
Joined: Mon Aug 11, 2008 6:57 pm
Location: NW Spain

Re: ubuntu 12.04 woes

Post by RayArdia » Wed Oct 03, 2012 6:59 pm

Having had all sorts of problems withQCAD 2.2 Prof when used with Ubuntu 12.04 so decided to download ver 3.0.
Can't get it to install or run so tried to follow your advice. The 'equivs-build --arch i386 qcad3-deps.txt' bit seemed to go OK but when I tried 'sudo dpkg -i qcad3-deps_1.0_i386.deb' I got this:-
ray@ray-Aspire-5735:~$ sudo dpkg -i qcad3-deps_1.0_i386.deb
dpkg: error processing qcad3-deps_1.0_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
qcad3-deps_1.0_i386.deb
ray@ray-Aspire-5735:~$
What do you suggest?

User avatar
hungerburg
Premier Member
Posts: 160
Joined: Fri May 28, 2010 7:35 pm

Re: ubuntu 12.04 woes

Post by hungerburg » Thu Oct 04, 2012 10:20 am

Hello Ray,

from the error message, I suggest you check, where the file is. In the directory, where you issue the command, is there a file "qcad3-deps_1.0_i386.deb" at all? Maybe it is named slightly different, or is living in another place?

You might try the package attached to above post of mine: It is called ".rar", because the forum software does not allow attaching files that end in ".deb", so after downloading, you must rename the file "...rar" -> "...deb". OTOH, as you went the equivs way, you should have created that same file already on your own machine.

RayArdia
Full Member
Posts: 90
Joined: Mon Aug 11, 2008 6:57 pm
Location: NW Spain

Re: ubuntu 12.04 woes

Post by RayArdia » Thu Oct 04, 2012 7:45 pm

Used your .rar file, results below:-

ray@ray-Aspire-5735:~/QCAD/qcad-3.0.0-prof-linux-x86$ sudo dpkg -i qcad3-deps_1.0_i386.deb
Selecting previously unselected package qcad3-deps.
(Reading database ... 322096 files and directories currently installed.)
Unpacking qcad3-deps (from qcad3-deps_1.0_i386.deb) ...
Setting up qcad3-deps (1.0) ...
ray@ray-Aspire-5735:~/QCAD/qcad-3.0.0-prof-linux-x86$

I'm now lost, where do I go from here to run and use QCAD 3?

RayArdia
Full Member
Posts: 90
Joined: Mon Aug 11, 2008 6:57 pm
Location: NW Spain

Re: ubuntu 12.04 woes

Post by RayArdia » Thu Oct 04, 2012 7:49 pm

Further to last post, ls shows:-

ray@ray-Aspire-5735:~/QCAD/qcad-3.0.0-prof-linux-x86$ ls
assistant libQtDesigner.so.4 libQtXmlPatterns.so.4
doc libQtGui.so.4 libQtXml.so.4
dwg2bmp libQtHelp.so.4 libraries
dwg2pdf libQtMultimedia.so.4 patterns
dwg2svg libQtNetwork.so.4 plugins
examples libQtOpenGL.so.4 qcad
fonts libQtScript.so.4 qcad3-deps_1.0_i386.deb
libQtCLucene.so.4 libQtScriptTools.so.4 qcad-bin
libQtCore.so.4 libQtSql.so.4 qcad_icon.png
libQtDBus.so.4 libQtSvg.so.4 readme.txt
libQtDeclarative.so.4 libQtTest.so.4 scripts
libQtDesignerComponents.so.4 libQtWebKit.so.4 ts
ray@ray-Aspire-5735:~/QCAD/qcad-3.0.0-prof-linux-x86$

Hope this helps,
Ray

User avatar
hungerburg
Premier Member
Posts: 160
Joined: Fri May 28, 2010 7:35 pm

Re: ubuntu 12.04 woes

Post by hungerburg » Sun Oct 07, 2012 3:30 pm

Hello Ray,

so you have installed the dependencies package and you did not get any warnings about missing dependencies. That should mean, that your system is already set up to run qcad3, and you do not have to perform the "repair" step in the procedure mentioned above.

From the "ls" output I see, that the working directory of your shell is the place, where you unzipped the qcad3 archive. At the prompt now enter "./qcad" and the application should launch.

Alternatively, browse to this directory with the filemanager of your choice (a.k.a explorer on windows, finder on macos), and click the icon labelled "qcad".

HTH

Peter

RayArdia
Full Member
Posts: 90
Joined: Mon Aug 11, 2008 6:57 pm
Location: NW Spain

Re: ubuntu 12.04 woes

Post by RayArdia » Wed Dec 05, 2012 9:36 pm

Sorry to be so late in replying to your post Peter, I'm still having trouble.
Clearly the directory exits, se my ls etc:-
ray@ray-Aspire-5735:~$ ls
100_0516.JPG
1255418274(1).pdf
1255418274_en(1).pdf
1256810773.pdf
1257079360(1).zip
3_knut_12.pdf
alsa-info.sh
app
April 1994
Assembling a Dynamic Component.skp
attachment.patch
Auto Kindle.au3
Auto Kindle Config.exe
Auto Kindle.exe
Backup Firefox 25 Oct 2012
Basil and Pepa 2004?.jpg
Basil and Sybil in bed!.jpg
Best_Recipes_Email_Newsletters.vcf
B&K 1993 -2.jpg
B&K 1993.jpg
brasero.iso
Breixo 1994.jpg
B&W kitten by fire.jpg
calibre
Calibre Library
Cascada de A Toxa.jpg
ChangeLog.txt
clementine_0.7.1~natty_i386.deb
clementine_0.7.3-355-g7e5eb1c~oneiric_i386.deb
Close-up Sarah.jpg
cnet_cssetup1701_msi.exe
data.tar.gz
DEBIAN
Dec89-Jan90
Desktop
Diagrams Sketches etc
dl_rsphrases (3).zip
Documents
Downloads
DriverUtilities.exe
Driver_Win98
dwhelper
Early90
EmbeddedSwatchSBT.skp
End 92 - Early 93
etc
Exif Data etc.odt
Feeding time Las Pipas .jpg
firefox
firefox-10.0.tar.bz2
firefox-12.0.tar.bz2
First kitchen rebuild 2003?.jpg
folk me
Fslint Bad File Names 28 Oct 2012~
Garden__5_.jpg
Garden__6_.jpg
Garden__7_.jpg
Garden__8_.jpg
Ginger kitten.jpg
Google SketchUp 8.desktop
Google SketchUp 8.lnk
GoogleSketchUpWEN.exe
Gordon Lightfoot - Gord's Gold (1990) 320 vtwin88cube
Grandad B&K.jpg
guayadeque
guayadeque_0.3.5~oneiric-4_i386.deb
Guia.chm
Hobbies
Image-0003_1.png
IrwPrintShoppingList
IrwPrintShoppingList(1)
IrwPrintShoppingList(2)
Isometric views etc.dxf
[JazzPlanet] Ella Fitzgerald & Louis Armstrong - Best Of [Eac-Flac-Cue]
jhead
jhead-2.90
jre1.7.0_05
jre-6u29-linux-i586.bin
kasablanca_0.3.1-1_i386.deb
kasablanca-0.4.0.2
KindleForPC-installer.exe
KindleUser'sGuide.pdf
Late89
Late 90
lib
libGL.so.1
libGL.so.280.13
libGLU.so.1
libGLU.so.1.3.071100
libgphoto2-2.4.11.tar.bz2
metadata.gz
muebles_cocina_2011.pdf
Music
myotherdrive2.properties
myotherdrive.properties
NOTES IN SPANISH MAIN FOLDER
notes_in_spanish_premium_pack2.zip
O Grove Peninsula.jpg
opt
PDFReaderSetup.exe
Pictures
Podcasts
potatosalad_67592.pdf
Public
pyrenamer_0.6.0-1_all.deb
qBT_dir
QCAD
Rabbit Hutch etc.dxf
Rabbit Hutch etc.dxf~
Readme.txt
Saved Recipes
Sez and Breixo Summer 95?.jpg
shotwell-0.8.1
singapore_noodles_69488.pdf
Spain map.jpg
SPT-A_Start_Drawing_Part_1.skp
SPT-A_Start_Drawing_Part_2.skp
SPT-A_Start_Drawing_Part_3-2.skp
SPT-B_Color_and_Materials.skp
SPT_Intro.skp
Stuart's Selection
Stuart's Selection
Stuart's Selection.m3u
sys
tarjetaIKEAFAMILY.pdf
Temp
Templates
The.Piano[1993].DVDrip.[Gopo]
thunderbird
u1201.exe
Ubuntu One
Uploading Dynamic Components.skp
usr
u.zip
var
Videos
WELE200M_SowDownload.aspx
Wind In The Willows.2006.DvDRiP.avi
winetricks
Workshop Manuals etc
xdupes
xdupes.txt
y
ray@ray-Aspire-5735:~$ ./QCAD
bash: ./QCAD: Is a directory
ray@ray-Aspire-5735:~$ cd QCAD
ray@ray-Aspire-5735:~/QCAD$ ./qcad
bash: ./qcad: No such file or directory
ray@ray-Aspire-5735:~/QCAD$ ./QCAD
bash: ./QCAD: No such file or directory
ray@ray-Aspire-5735:~/QCAD$ ls
Ardia 174 Windows and Doors.pdf Honda Bkt Rev2.dxf
bin Honda Bracket.dxf
Birdsmouth jig etc.dxf House Ground Floor.dxf
doc Humber.dxf
Door 620.dxf Humber Transom Wheels etc.dxf
door720lh.dxf library
Door 720 LH.dxf misc
Door 720 RH.dxf New Kitchen Area.dxf
Door 820 LH.dxf partlibrary-2.1.2.8-1
Door 820 RH.dxf patterns
doors qcad-3.0.0-prof-linux-x86
Door Triple.dxf qcad-3.0.0-prof-linux-x86.tar.gz
examples qm
fonts Rabbit Hutch (rev).dxf
~Front Door Panels.dxf scripts
Front Door Panels.dxf templates
Front Door Panels.dxf~ Whole House.dxf
Hawk-eye Pattern.dxf Windows and Doors Dimensions.dxf
ray@ray-Aspire-5735:~/QCAD$ qcad-3.0.0-prof-linux-x86
qcad-3.0.0-prof-linux-x86: command not found
ray@ray-Aspire-5735:~/QCAD$ "./qcad"
bash: ./qcad: No such file or directory
ray@ray-Aspire-5735:~/QCAD$
You'll see that I tried to run QCAD but failed. I also tried from Nautilus but the .exe blue diamond-shaped icon that I used to use to start QCAD has gone. The two that remain, marked assistant and qcad.bin don't work.
I used to be able to start QCAD from Dash but can't do so with version 3.0.
BTW when I did get it to run about a week ago it seems perfect and much better than the old one! Just want to be able to use it!
Ray

User avatar
andrew
Site Admin
Posts: 9036
Joined: Fri Mar 30, 2007 6:07 am

Re: ubuntu 12.04 woes

Post by andrew » Wed Dec 05, 2012 9:46 pm

This looks somewhat messy. There seems to be an incomplete installation in ~/QCAD and some other artefacts laying around.

My best guess to run QCAD on your existing installation is this exact sequence of commands:

Code: Select all

cd
cd QCAD
cd qcad-3.0.0-prof-linux-x86
./qcad
It's perfectly possible that this will not work as some folders might have been moved around, etc. Please let me know if that is the case. You still have the downloaded tar.gz which allows you to install QCAD again anytime.

RayArdia
Full Member
Posts: 90
Joined: Mon Aug 11, 2008 6:57 pm
Location: NW Spain

Re: ubuntu 12.04 woes

Post by RayArdia » Thu Dec 06, 2012 9:38 am

That worked OK, at least I can complete the drawings I need!
From Terminal:-
ray@ray-Aspire-5735:~$ cd
ray@ray-Aspire-5735:~$ cd QCAD
ray@ray-Aspire-5735:~/QCAD$ cd qcad-3.0.0-prof-linux-x86
ray@ray-Aspire-5735:~/QCAD/qcad-3.0.0-prof-linux-x86$ ./qcad
Debug: TIMER: 66 ms - "loading plugins"
Debug: TIMER: 762 ms - "initializing plugins"
Debug: autostart.js: main(): end.
ray@ray-Aspire-5735:~/QCAD/qcad-3.0.0-prof-linux-x86$

I've made a careful note of the commands because I can't rely on the ancient brain to recall them when I want them. However, I would really like to be able to open QCAD from Dash and then lock it to Launcher as I had been able to do previously. Is this possible?
Once again, many thanks for your prompt and helpful responses, I wish other forums were as good.
Ray

RayArdia
Full Member
Posts: 90
Joined: Mon Aug 11, 2008 6:57 pm
Location: NW Spain

Re: ubuntu 12.04 woes

Post by RayArdia » Thu Dec 06, 2012 4:34 pm

That worked OK, at least I can complete the drawings I need!
From Terminal:-
ray@ray-Aspire-5735:~$ cd
ray@ray-Aspire-5735:~$ cd QCAD
ray@ray-Aspire-5735:~/QCAD$ cd qcad-3.0.0-prof-linux-x86
ray@ray-Aspire-5735:~/QCAD/qcad-3.0.0-prof-linux-x86$ ./qcad
Debug: TIMER: 66 ms - "loading plugins"
Debug: TIMER: 762 ms - "initializing plugins"
Debug: autostart.js: main(): end.
ray@ray-Aspire-5735:~/QCAD/qcad-3.0.0-prof-linux-x86$

I've made a careful note of the commands because I can't rely on the ancient brain to recall them when I want them. However, I would really like to be able to open QCAD from Dash and then lock it to Launcher as I had been able to do previously. Is this possible?
Once again, many thanks for your prompt and helpful responses, I wish other forums were as good.
Ray

Post Reply

Return to “QCAD Installation and Upgrades”