现在的位置: 首页 > 综合 > 正文

Linux中wine环境下安装Protel系列EDA软件

2013年11月23日 ⁄ 综合 ⁄ 共 11837字 ⁄ 字号 评论关闭

Fedora下Wine使用遇到的问题

作者:小伽同学

系统配置:

CPU:奔腾双核T4200双核

内存:2GB

OS:Fedora 17


问题1)

软件发生错误,提示ODBC之类的信息:

问题2)

如果安全地卸载WINE中安装的软件:

打开FEDORA活动菜单,打开“应用程序"面板,找到"Wind Software Uninstaller",出现当前WINE中安装的软件列表,此时可以安全卸载软件了。

问题3)

安装ALTIUM DESIGNER x后,可以打开原理图文件,但打开PCB文件时,软件停止工作的问题:

在网上看到有网友反应,用AD打开PCB文件时,电脑出现蓝屏现象。

后来一想,这种WINDOWS下的蓝屏现象,是不是跟FEDORA下WINE运行软件停止反应,是一样的工作原理呢?

关于蓝屏现象,网友的解决方法是:在DXP菜单 -> Preferences -> PCB Editor -> Display -> Use DirectX if Possible (Disable)。

这个解决方法,大概的思路就是关闭软件的特效,以适应电脑的配置。

问题4)

从Wine Software Uninstaller 中卸载软件后,在桌面 -> Actives -> Applications列表中残留软件图标的问题:

Applications的目录位于/usr/share/applications/下,存放的是FEDORA系统管理的软件;

而WINE管理的软件在Applications面板中的快捷图标,位于目录~/.local/share/applications/wine/Programs/

欲删除WINE卸载软件后残留的图标,打开此文件夹,删除相应的图标即可。

以下文章,仅供个人学习之用.

第一篇:转载自:http://appdb.winehq.org/objectManager.php?sClass=version&iId=4910

Category: Main > Scientific/Technical/Math > EDA/Measurement > Protel
99SE
 > 99SE SP6

Name Protel 99SE
Version 99SE SP6
License  
URL http://www.protel.com/
Votes 2
Rating Gold
Wine Version 1.1.31
Maintainers of this version:

Description
Protel 99SE with Service Pack 6
Old test results
The test results for this version are very old, and as such they may not represent the current state of Wine. Please consider submitting a new test report.
Selected Test Results (selected in 'Test Results' table below)

What works

  • Opening .ddb .sch .pcb
  • Working with Schematics
  • Schematic Libraries
  • Working with PCB
  • Autorouting PCB's
  • PCB3D

Everything tested works, with the occasional little bug, very usable.


What does not

  • Protel has to be minimised twice before it can be maximised.
  • Add/Remove schematic libraries cant remember current list of libraries.
  • Maximised design windows behave oddly somethimes
  • Toolbars cannot be un-docked by dragging
  • Deleting some documents from recycle bin (random)
  • PCB3D blacks out when pcb is dragged past the edge of its window


What was not tested

  • Simulation
  • PLD


Additional Comments


Test Results
Distribution Test date Wine version Installs? Runs? Rating Submitter
Current Ubuntu 9.10 "Karmic" (+ variants like Kubuntu) Nov 29 2009 1.1.31  Yes  Yes  Gold  mackle 
Show Ubuntu 8.04 "Hardy" x86_64 (+ variants like Kubuntu) Nov 15 2008 1.1.8  Yes  Yes  Gold  an anonymous user 
Show Fedora 8 Apr 24 2008 0.9.59.  Yes  Yes  Silver  an anonymous user 
Show openSUSE 10.3 Apr 11 2008 0.9.59.  Yes  Yes  Silver  Krzysztof Kotlenga 
Show openSUSE 10.3 Jan 29 2008 0.9.54.  Yes  Yes  Bronze  an anonymous user 
Known bugs
Bug # Description Status Resolution Other apps affected

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

Installation Procedureby mackle on Sunday November 29th 2009, 2:24

* Set wine version to Windows 2000 * Set odbc32 and odbccp32 to native in winecfg * Install MDAC 2.8 SP1 & Jet 4.0 (SP8) (

笔者注:

1.MDAC 2.8 SP 和 Jet 4.0(SP8) 为两个软件,需要分别安装,以确保系统能正常运行Protel99 SE;

2.如不安装这两个软件,打开Protel99 SE软件时,系统提示:protel runtime error 217 ...

)

 

wget www.kegel.com/wine/winetricks chmod +x winetricks ./winetricks mdac28 jet40 * Run Protel Setup. In the Setup Type screen
choose Custom and uncheck NT Drivers * Install SP6 * PS. Installer crashed with DCOM98 installed[post
new
] [reply
to this
]

HOWTO pleaseby Bushman on Wednesday March 4th 2009, 12:54
I've tried to follow your instructions, but can't manage to make data bases to work. Could you please post step by step "HOWTO"? A list of terminal commands would be nice so the copy/paste method could be implemented. :P  Thanks
in advance, Bushman[post
new
] [reply
to this
]
not setup protelby raymacman on Thursday November 2nd 2006, 3:42
Thank , but i not setup protel in ubuntu ,Please tell me for setup step by step. thany you[post
new
] [reply
to this
]

第二篇,转载自:http://www.longene.org/forum/viewtopic.php?t=22

在wine下安装protel 99se

以下我以前的安装步骤,还有一些调试时候的信息,供大家参考,希望对大家有帮助按照下面步骤安装完成后Protel 的99se版本还有部分功能不好使,但是若安装protel dxp2004,绝大部分功能是好用的protel 

安装方法:

1、用最新的wine-0.9.60不用执行这部。 

wine-0.9.40有下面两种办法:

a、需要安装 DCOM98.EXEWINEDLLOVERRIDES="ole32=n" wine dcom98.exeafter go in Protel cdromWINEDLLOVERRIDES="ole32,oleaut32,rpcrt4=n" wine Setup.exe... click ... click in the button ....

b、安装ie6,然后把ie6拷贝成.wine2、Set version to Windows 2000

3、Set odbc32 and odbccp32 to native

4、Install Microsoft Data Access Components (MDAC) 2.8 SP1

5、执行jet.sh安装Jet40SP8_9xNT.exe (odbc驱动)wine Jet40SP8_9xNT.exe /Qcabextract -d jet Jet40SP8_9xNT.execabextract -d jet jet/jetsetup.execabextract -d jet/drivers jet/jetsetup.cabwine odbcconf /f jet/drivers/jetodbc.rsprm -r jet6、Install Protel Setup.exe.In Setup
Type screen choose Custom and uncheck NT Drivers7、Install SP68、Do some nasty things here ???9、set odbc32 and odbccp32 DLL to native,run protel调试过程:lhc ~ # WINEDLLOVERRIDES="odbc32,odbccp32=n" WINEDEBUG=loaddll wine protel/Client99SE.exe把 SHELL/SHELL32 和 COMDLG/COMDLG32、COMMCTRL/COMCTL32
成对的复制到你的 Wine 目录中(使用这些 DLL 是"干净的" 。确保在 ~/.wine/config 的"[DllPairs]"段中指定了这些。

1、直接启动显示"Runtime error 217 at 0000807C"错误1、全部使用windows的dll 失败

2、wine带有的就是用wine的 失败

3、使用 WINEDEBUG=+loaddll 和 WINEDLLOVERRIDES=[DLL Overrides] 

参考《新版 Wine 中文官方用户指南》调试程序 启动成功

2、把全部需要的 dll 设置能native后 "Runtime error 217 at 0000807C Fault"错误消失。

3、去掉 mpr.dll 后 转到错误4,比原来能看见开机图片。(注意尽管 Wine 寻找一些网络 DLL 但不需要它们。Windows MPR.DLL 目前不能工作;你必须使用内部实现。──《Wine User Guide》)

4、错误变成 "Exception EListError in module VCL30.dpl at ,估计是装载 dll (native于builtin占用了相同的地址)

5、olepro32.dll 设置成native后protel启动成功。 但是无法打开其他项目文件。

6、参考下面文档安装好odbc driver后,能运行protel的大部分功能。但不能打开图表相关的文件。印制电路板文件(.pcb)设计数据库文件(.ddb)正常转到问题6ODBC Driver相关资料:

a、如果您配置 Wine 去使用 built-in odbc32.dll ,此 Wine DLL 将接入到您的 Unix ODBC 包,并让其做该工作。

但是,如果您配置 Wine 去使用 native odbc32.dll , 它将尝试使用 native ODBC32 等驱动程序。(ODBC32.DLL相关说明,见翻译文档的3.3.6)。不是仅仅拷贝DLL文件,多数ODBC驱动 要求一个基于Windows的安装向导被运行来配置诸如注册表键之类的东西。

b、http://wiki.winehq.org/NativeOdbcc、http://appdb.winehq.org/objectManager.php?sClass=version&iId=4910&iTestingId=23264&sAllBugs

7、advsch.dll 出错.

现象如下:"access violation at address ODDF89FD6 in module advsch.dll.read of address 00000000"不能打开advsch.dll 相关的文件,例如原理图文件(.sch)。这个dll在C:\Program Files\Design Explorer 99 SE\System 目录下。PCB也有对应的Advpcb.dll

===================================================================================================================

我自己尝试安装protel99 和 dxp2004 的过程和结果

测试环境: ubuntu 8.04; Linux shaotg-desktop 2.6.24-16-generic; wine-1.0;

参考方法

(1)由于使用wine1.0 所以不要这步

。用最新的wine-0.9.60不用执行这步。

 wine-0.9.40有下面两种办法:

(a)需要安装 DCOM98.EXEWINEDLLOVERRIDES="ole32=n" wine dcom98.exeafter go in Protel cdromWINEDLLOVERRIDES="ole32,oleaut32,rpcrt4=n" wine Setup.exe... click ... click in the button ....不要安装ie4linux (protel99)

(b)安装ie6,然后把ie6拷贝成.wine

(2)winecfg中Set version to Windows 2000Set odbc32 and odbccp32 to native(3)Install Microsoft Data Access Components (MDAC) 2.8 SP1 (必须安装ie) (兼容内核安装失败,protel DXP(2004)需要在第(2)步前使用ie4linux (修改function.sh), 但是安装一样失败)./MDAC_TYP.EXE;

(4)执行jet.sh安装Jet40SP8_9xNT.exe (odbc驱动) (必须安装 cabextract)wine Jet40SP8_9xNT.exe /Qcabextract -d jet Jet40SP8_9xNT.execabextract -d jet jet/jetsetup.execabextract -d jet/drivers jet/jetsetup.cabwine odbcconf /f jet/drivers/jetodbc.rsprm -r jet(5)Install Protel
Setup.exe.In Setup Type screen choose Custom and uncheck NT DriversInstall SP6将dll: SHELL/SHELL32,COMDLG32,COMCTL32 复制到你的 Wine 目录中 .wine/drive_c/windows/system32/运行protel99se (由于sch文件无法打开,所以prj文件也无法打开, 问题是 advsch.dll access violation at 偏移 0xC81D6)

******************************************************************DXP 2004

1. 下载安装 ies4linux {如果安装过程中无法下载修改ie4linux的function.sh第99行pid=$(wget -q -b -t 1 -T 5 -U "$useragent" -o /dev/null $URL $WGETFLAGS -O "$file" | sed -e 's/[^0-9]//g')为pid=$( LC_ALL="C" wget -q -b -t 1 -T 5 -U "$useragent" -o /dev/null $URL $WGETFLAGS -O "$file"
| sed -e 's/[^0-9]//g')}

2. 复制ie4linux的ie6文件夹 为 .wine文件夹 cp -a ~/.ies4linux/ie6 ~/.wine && winecfgwinecfg中Set version to Windows 2000将dll: rpc.dll 复制到你的 Wine 目录中 .wine/drive_c/windows/system32/3. mount your DXP 安装CD 运行wine setup.exe

4. 安装后复制 odbc32.dll, riched20.dll, riched32.dll (从Windows XP的WINDOWS\system32目录)到wine中 windows/system32/ 文件夹中

5. winecfg中Set version to Windows 2000安装 Adobe Acrobat Reader version 5.0 (http://www.oldversion.com/ 可以下载到)

7. winecfg中Add application settings in winecfg for DXP.exe. Seset it for Windows 2000 set library override for docbox.api (disabled)rsaenh (builtin, native)riched32 (native) riched20 (native) odbc32 (native)8. 运行DXP.exe可以正常打开所有文件和操作。

===================================================================================================================

Protel99SE SP6 (gold)

http://appdb.winehq.org/objectManager.p ... ngId=33644http://corefonts.sourceforge.net/http://wiki.winehq.org/winetricks测试环境:wine-1.0
+ Fedora 8 OKUK 0.2.2 + Fedora 8 FAULTWhat worksThe important stuff - DDB files, binder, new projects, schematics, PCBs, schematic->PCB sync, PCB DRC, PCB printer, CAM outputs.To get this to work, try the following guide (I assume you have winetricks):1. Install
dcom98, corefonts, mdac28 and jet40 in winetricks.(或者自己下载安装上面四个组件)2. Set Windows version to 2000 or winxp.3. Install Protel 99SE.4. Install Service Pack 6.If you skip mdac28 or jet40, DDB files will not be supported. If you skip corefonts, Advsch.dll will
die on server start and you won't be able to open any schematics.What does notMaximized design windows behave oddly with binder (but OK with schematic and PCB it seems). PCB3D does not generate an useful image and sometimes dies outright with GLXBadContext.
Sometimes throws an exception on finish.PCB and schematic rendering is slightly slower than on Windows.What was not testedStuff not listed above.Additional CommentsI'm not sure if silver or gold is the right rating. There are some flaws, but I think that this
is such a complex app that if a few relatively useless parts fail (like PCB3D) and the rest works perfectly it averages out to gold:)补充:set under dll as native:odbc32
(native)odbccp32 (native)If odbc32.dll isn't native, Client99SE.exe can not to start.if odbccp32.dll isn't native, DDB files will not be supported too.

===================================================================================================================

Altium DXP2004 (gold)

http://appdb.winehq.org/objectManager.p ... ngId=23837HOWTO Install DXP on WineThis was tested
to work on a fully updated Fedora Core 8 installation running Wine-1.0.测试环境:wine-1.0 + Fedora 8 OKUK 0.2.2 + Fedora 8 FAULT1. Download and install ies4linux2. Copy the ie6 directory from wherever you installed ies4linux (by default it is ~/.ies4linux/ie6)
to ~/.wine. Here's a quick way, or you can specify the prefix when starting ies4linux.At a bash prompt enter: cp -a ~/.ies4linux/ie6 ~/.wine && winecfgWhen winecfg opens, change the Windows version to Windows 2000.3. Now mount your DXP installer CD and run:
wine setup.exe4. After installing DXP, copy odbc32.dll, riched20.dll and riched32.dll from a Windows 2000 or Windows XP machine's system32 directory to wine's system32 directory. You may also want to copy the contents of your Windows font directory over into
wine while you are at it (this is optional.)5. Switch your default Windows version back to Windows 98 using winecfg6. Install Adobe Acrobat Reader version 5.07. Add application settings in winecfg for DXP.exe. Set it for Windows 2000 and set an override fordocbox.api
(disabled)rsaenh (builtin, native)riched32 (native) riched20 (native)odbc32 (native)Don't change the default overrides that were created by ies4linux, however, you can add docbox.api to allow Acrobat to run separately from DXP. FYI, docbox.api is part of Acrobat,
and rsaenh is used for DXP licensing.8. Run DXP!方法二:测试环境: Fedora8 + wine-1.0To get this to work, try the following guide (I assume you have winetricks):1. Install dcom98, corefonts, mdac28 and jet40 in winetricks.2. Set Windows version to 2000 or winxp.3.
Now mount your DXP installer CD and run: wine setup.exe4. copy under dll to system32 directory set dll override for:DXP.exeriched32 (native) riched20 (native)odbc32 (native)Default Settings:odbc32 (native, builtin)odbccp32 (native, builtin)ole32 (native, builtin)oleaut32
(native, builtin)rpcrt4 (native, builtin)services.exe:ole32 (builtin)oleaut32 (builtin)rpcrt4 (builtin)wineboot.exe:ole32 (builtin)oleaut32 (builtin)rpcrt4 (builtin)winedevice.exe:ole32 (builtin)oleaut32 (builtin)rpcrt4 (builtin)5. 打开XXX文件会提示出错信息*.IntLib没有注册,如果不想看见错误可以把Program
files/Altium/Library/下的Miscellaneous Connectors.IntLib和Miscellaneous Devices.IntLib删除或者移掉。6. run DXP.exe

===================================================================================================================

 Altium Designer > 6.8

Linkto:http://appdb.winehq.org/objectManager.php?sClass=version&iId=14778

Description
Stable version plus updates installed from 5208 to 7263
Old test results
The test results for this version are very old, and as such they may not represent the current state of Wine. Please consider submitting a new test report.
Selected Test Results (selected in 'Test Results' table below)

What worksMost

What does notComplains of the printer port not installed and not working

What was not testedPrinting to plotter

Additional Comments

You need to install the following with winetricks:
dx9 for the DirectX accelerated graphics (helps with ghosting of PCB lines)
dcom98 tahoma corefonts mdac28 mdac27 mfc42 dotnet20

抱歉!评论已关闭.