在 07-08-2008 06:03 PM
在 07-08-2008 08:22 PM
在 07-08-2008 08:57 PM
在 07-08-2008 10:29 PM
您的error message是什麼?可以上ni.com google一下,plz key in " install ni-visa linux "
左邊 knowledgebase & discussion forums 可以參考。
以下是其中幾篇 knowledgebase
http://digital.ni.com/public.nsf/allkb/35D2B5E483A001A18625716B005BE464
http://digital.ni.com/public.nsf/allkb/88A7903EAEE62FBE862573D200727606
http://digital.ni.com/public.nsf/allkb/C9858CB0446896A786256BB800503692
以下是其中幾篇 forum
http://forums.ni.com/ni/board/message?board.id=170&message.id=292735&requireLogin=False
http://forums.ni.com/ni/board/message?board.id=140&message.id=20968&requireLogin=False
我分別在Fedora 9及Ubuntu 8.04LTS(目前最新的版本分別是Fedora 10及Ubuntu 8.10)安裝NI-VISA,前面安裝時,跑的都蠻順的,到後面快裝完時,才出現錯誤訊息。
至於RedHat EnterPrise版有人說可以安裝,我在我公司的電腦上裝,也沒裝成功過,或許EnterPrise本來就限制比較嚴苛吧,需要使用者做一些調校才可安裝。
我再安裝一次,把錯誤訊息剪下再po上來給大家參考,希望ni可以為linux用戶解決掉這個問題。
以下是我在終端機安裝時出現的所有訊息。
應該注意的是最底下的幾行訊息
居然說找不到(not found) ,可是卻又沒說找不到什麼東西,訊息1022,應該沒有人知道是麼意思吧(跟微軟一樣)。
經過一些提示文件後,就是
Would you like to install NI-VISA (4.4.0f0) for GNU/Linux? [Ynq] y
trap: 1924: SIGINT: bad trap
1924又是什麼東東啊,只以 bad trap 帶過
不知道linux版是不是要收費,因為沒收費所以才.......................................
NI的大大 ,幫幫忙啊!
================================
以下開始 。( )裡面是我加的說明
wesly@ubuntu:~$ su - root
密碼:
root@ubuntu:~# ls
Desktop Documents Music Pictures Public Templates Videos
root@ubuntu:~# cd ..
root@ubuntu:/# cd cdrom
root@ubuntu:/cdrom# ls
COPYRIGHT labview86-core-8.6.0-1.i386.rpm
INSTALL labview86-desktop-8.6.0-1.i386.rpm
LICENSE.rtf labview86-examples-8.6.0-1.i386.rpm
LICENSE.txt labview86-help-8.6.0-1.i386.rpm
NI-488 labview86-pro-8.6.0-1.i386.rpm
NI-VISA labview86-ref-8.6.0-1.i386.rpm
PATENTS.txt labview86-rte-8.6.0-1.i386.rpm
README.html niexfinder-base-1.0-11.i386.rpm
README.txt niexfinder-labview86-8.6.0-1.i386.rpm
UNINSTALL nilvmerge-8.6.0-1.i386.rpm
bin nisvcloc-8.6.0-1.i386.rpm
labview-rte-aal-1.1-1.i386.rpm niwebpipeline20_dep-2.0-5.i586.rpm
labview86-appbuild-8.6.0-1.i386.rpm
root@ubuntu:/cdrom# sh INSTALL (<--------------以bash執行INSTALL,以下開始執行安裝)
LabVIEW 8.6.0 for Linux/x86 (2008)
Copyright (c) 2008, National Instruments Corporation. The source code of this
product is unpublished, unlicensed, and a proprietary trade secret of National
Instruments Corporation. Decompilation or other reduction of this object code
to human-readable form is prohibited by the license agreement between National
Instruments Corporation and the lawful user or possessor of this copy.
Restricted Rights Legend
Use, duplication, or disclosure by the United States Government is subject to
restrictions set forth in subparagraph (c)(1)(ii) of the Rights in Technical
Data and Computer Software Clause at DFARS 252.227-7013 and FAR 52.227-19 (c).
National Instruments Corporation
11500 N. Mopac Expwy.
Austin, Texas 78759
U.S.A.
By installing LabVIEW software packages, you agree to the terms of the included
NI Software License Agreement (LICENSE.txt). Type 'v' to view the agreement,
'y' to consent to the agreement, or 'n' to decline the agreement and skip
LabVIEW installation. [Vynq] y
NOTE: LabVIEW will install by default in /usr/local/natinst/LabVIEW-8.6,
or in the natinst/LabVIEW-8.6 subdirectory if you specify an alternate location.
(全部選y)
Preparing for installation...
Please indicate whether you would like to install the following components:
labview86-rte: LabVIEW Run-Time Engine
[Ynasq?] y
labview-rte-aal: LabVIEW Run-Time Advanced Analysis Support
[Ynasq?] y
labview86-core: LabVIEW Application and VI Library
[Ynasq?] y
labview86-examples: LabVIEW VI Examples
[Ynasq?] y
labview86-help: LabVIEW On-line Reference Manual
[Ynasq?] y
labview86-ref: LabVIEW Manuals in Adobe Acrobat (.pdf) format
[Ynasq?] y
labview86-desktop: LabVIEW KDE and GNOME desktop support
[Ynasq?] y
labview86-appbuild: LabVIEW Run-Time Application Builder
[Ynasq?] y
labview86-pro: LabVIEW Professional Developers Tools
[Ynasq?] y
Auto-selecting dependency nilvmerge-8.6.0-1
Auto-selecting dependency niwebpipeline20_dep-2.0-5.i586.rpm
Auto-selecting dependency niexfinder-base-1.0-11
Auto-selecting dependency nisvcloc-8.6.0-1
The following components will be installed using cpio:
labview86-rte-8.6.0-1.i386.rpm 58717 kB
labview-rte-aal-1.1-1.i386.rpm 20607 kB
labview86-core-8.6.0-1.i386.rpm 361609 kB
labview86-examples-8.6.0-1.i386.rpm 29206 kB
labview86-help-8.6.0-1.i386.rpm 68744 kB
labview86-ref-8.6.0-1.i386.rpm 3486 kB
labview86-desktop-8.6.0-1.i386.rpm 290 kB
labview86-appbuild-8.6.0-1.i386.rpm 50166 kB
labview86-pro-8.6.0-1.i386.rpm 6270 kB
nilvmerge-8.6.0-1.i386.rpm 0 kB
niwebpipeline20_dep-2.0-5.i586.rpm 5432 kB
niexfinder-base-1.0-11.i386.rpm 11700 kB
nisvcloc-8.6.0-1.i386.rpm 65 kB
Total space required: 616292 kB
Space available: 2049284 kB
Proceed? [Ynq] y
Installing...
(問題來了)
INSTALL: 1022: [[: not found
LabVIEW package installation complete.
LabVIEW installation complete.
Note: This product contains online reference manuals in Adobe PDF format.
The installer was not able to locate a PDF viewer on your system. To view these
documents, either install a viewer such as ggv, kpdf, or xpdf,
or visit http://www.adobe.com to download Adobe Acrobat Reader.
(Adobe and Reader are registered trademarks of Adobe Systems Inc.)
================================================================================
Beginning hardware driver installation.
Depending on your system configuration, some drivers may require you to reboot
after installation before you can access the driver.
NOTE: NI-VISA is not supported on this distribution and may not work as
expected.
Would you like to install NI-VISA (4.4.0f0) for GNU/Linux? [Ynq] y
trap: 1924: SIGINT: bad trap
Would you like to install NI-GPIB ("2.5.1f0") for GNU/Linux? [Ynq] n
Please see the LabVIEW 8.6.0 Upgrade Notes in /usr/local/natinst/LabVIEW-8.6/manuals/LV_Upgrade_Notes.pdf
for information about new features in LabVIEW 8.6.0.
Installation complete.
root@ubuntu:/cdrom#
在 02-26-2009 04:59 AM
這邊是 NI-VISA for Linux 的下載網址,請您參考:
http://joule.ni.com/nidu/cds/fn/p/sn/n19:Linux/q/NI-visa/sb/navsRel/lang/en
另外我也找到一篇討論文章,希望對您有幫助:
All Linux drivers either need to compile against, or be precompiled for a certain kernel version. This is because the Linux kernel does not provide a stable ABI (application binary interface). Additionally the Linux kernel does not provide a stable API (application programming interface). What this means is that nearly every new Linux kernel version changes the API requiring any update to all drivers.
NI-VISA 4.0 and NI-KAL 1.4 have only been updated to work with up to 2.6.16. The API has once again changed so 2.6.17, 2.6.18, and 2.6.19, and will cause compile errors with NI-KAL 1.4.
Really it is best if you use an officially supported distribution. If you cannot, do this then I suggest that you search the forums to see if anyone else has been successful. For example though it may seem unrelated NI-DAQmx on Fedora Core 5 How-to may provide some help with newer kernel versions. I know I have seen posts about Ubuntu as well.
全文請見:
http://forums.ni.com/ni/board/message?board.id=140&message.id=20968&requireLogin=False
謝謝
我剛剛在RedHat Enterprise 5上面裝NI-VISA,一樣還是無法裝成功。
最終的錯誤訊息如下:
gcc Not found in current path
*** ERROR: Some required tools are missing or were not found. ***
所以,還是無法裝成功。
我覺得NI-VISA是很重要的,居然在文件上說可以安裝的linux版本無法安裝成工,這就有點說不過去了。
Lab-VIEW跟NI-VISA在linux到底要不要錢啊?
不然怎會會是這樣的處理方式??!!
在 02-26-2009 09:41 AM