LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-07-2012, 05:14 AM   #1
lkraemer
Member
 
Registered: Aug 2008
Posts: 111

Rep: Reputation: 10
[HOWTO] - Install TurboCAD V7.1 In Slackware 14.0 (running in Wine 1.5.5)


Install TurboCAD V7.1 In Slackware 14.0
with all the required software and proper dependencies to execute TurboCAD:

1. Wine (Ver 1.5.5)
.........A. msttcorefonts
............1. modify msftfonts.SlackBuild & msftfonts-arial.SlackBuild
............2. cabextract
.........B. fontforge
.........C. wine-gecko

2. TurboCAD (Ver 7.1)
.........A. modify /home/user/.local/share/applications/wine/Programs/IMSI\ TurboCAD\ v7/TurboCAD\ v7.1


Wine-gecko:
I had searched this forum for help installing Wine in Slackware 14.0 (XFCE Desktop).

I used this to install gecko:
Code:
    wget http://downloads.sourceforge.net/wine/wine_gecko-1.5-x86.msi
    sudo mkdir -p /usr/share/wine/gecko
    sudo mv wine_gecko-1.5-x86.msi /usr/share/wine/gecko/
I'm not 100% sure this was the best way to install gecko, but I did get Wine installed, so I could install TurboCAD Ver 7.1
You might want to use this URL to install wine-gecko:
http://www.slackware.com/~alien/slackbuilds/wine_gecko/


Fontforge:
fontforge was downloaded from the following URL, built, and installed:
http://slackbuilds.org/result/?search=fontforge&sv=14.0

NOTE: As an example to build fontforge, you need the source code to build along with the build script
fontforge.SlackBuild, and you may need to change the permissions, if needed, to:
Code:
chmod +x fontforge.SlackBuild
The files contained in your fontforge subdirectory should be:
Code:
freetype-2.4.10.tar.xz
cidmaps.tgz
fontforge_full-20120731-b.tar.bz2
fontforge.tar.gz
fontforge.SlackBuild
fontforge.info
README
slack-desc
You would then execute the script from the source code subdirectory.
Code:
cd /path/to/fontforge
./fontforge.SlackBuild
When the package is built, you install it with:
Code:
installpkg /tmp/fontforge-20120731_b-i486-1_SBo.tgz
making sure it installs properly.


Cabextract:
cabextract was downloaded from the following URL, built, and installed:
http://slackbuilds.org/result/?searc...xtract&sv=14.0


msttcorefonts:
I downloaded all the files from this website, and followed the instructions.
http://beej.us/slackware/msftfonts/

NOTE: You can use "sh -x msftfonts.SlackBuild" for troubleshooting Errors.

NOTE: The packager makepkg has recently been changed such that a path has to be provided in the output's directory path. The code below will correct the script's.
Code:
# make package
#
(
	cd $BUILDDEST
	makepkg -l y -c y $PACKAGEDEST/$PACKAGENAME
) || exit 6

# mv $BUILDDEST/$PACKAGENAME $PACKAGEDEST

Wine: Ver 1.5.5
Wine was downloaded from the following URL, built, and installed:
http://www.slackware.com/~alien/slackbuilds/wine/build/

After Wine is installed, you need to execute "winecfg" from a Terminal Window (Console) to get the Wine configuration files built on your system.
Code:
winecfg

TurboCAD:
At this point you just need to install TurboCAD Ver 7.1. Open a Terminal Window and use this command:
Code:
wine /path/to/TurboCAD/subdirectory/Setup.exe
NOTE:The Desktop Menu for Wine should display four selections for TurboCAD. Do NOT Drag the TurboCAD
Launcher to the Desktop, because it will be removed from the Menu selection. The existing XFCE Menu Launcher
for TurboCAD does not function. There is a stanza in the launcher that needs to be modified. That
information follows:

After hours of searching I finally found how to change the XFCE Menu for TurboCAD, so it executes correctly.............
NO Desktop Icon required......
http://wiki.xfce.org/howto/customize-menu

For XFCE to start TurboCAD 7.1 from the XFCE Menu, edit the TurboCAD v7.1 File in home/user/.local/share/applications/wine/programs/IMSI TurboCAD v7/

Here are the necessary changes to make it work, assuming a DEFAULT Install of TurboCAD v71.
Just be sure to change "user" to your username in all the code below:
Code:
[Desktop Entry]
Name=TurboCAD v7.1
Exec=env WINEPREFIX="/home/user/.wine" wine C:\\\\windows\\\\command\\\\start.exe /Unix /home/user/.wine/drive_c/Program\\ Files/IMSI/TCW70/Program/Tcw70.exe
Type=Application
StartupNotify=true
Comment=Description of shortcut
Path=/home/user/.wine/dosdevices/c:/Program Files/IMSI/TCW70/Program/
Icon=A273_FrontLine.0
GenericName=

TurboCAD Icon:
The Desktop Icon png file for TurboCAD is attached. It should be copied to:
/usr/share/icons/hicolor/48x48/apps

Thanks.

Larry
Attached Images
File Type: png TurboCAD_7.1.png (378 Bytes, 49 views)
File Type: png TC71.png (77.0 KB, 19 views)
File Type: jpg TurboCAD-7-1.jpg (171.5 KB, 14 views)

Last edited by lkraemer; 10-07-2012 at 09:16 AM.
 
Old 10-08-2012, 02:28 PM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware 14.1 (multilib) with kernel 3.15.5
Posts: 1,528
Blog Entries: 12

Rep: Reputation: 171Reputation: 171
Nice job, sure it'll come in handy. Perhaps you should submit it to the Linux Tutorial page.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running Starcraft 2 in slackware 13.1 using wine 1.2 kkorhonen Slackware 19 01-07-2011 12:16 AM
LXer: Howto Install latest wine with patched source and manage wine prefixes LXer Syndicated Linux News 0 12-07-2009 05:11 PM
Running a game [MU] in Slackware using wine? BULPulse Slackware 2 04-07-2008 05:56 AM
running wine slackware 9.1 dpajares Slackware - Installation 4 04-13-2006 08:28 PM
Howto install Ie6 easily with wine xIEatxChildrenx LinuxQuestions.org Member Success Stories 10 02-28-2005 09:14 AM


All times are GMT -5. The time now is 04:07 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration