Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: instalace DWG Viewer  (Přečteno 7480 krát)

Honza

  • Návštěvník
  • Příspěvků: 60
instalace DWG Viewer
« kdy: 05 Ledna 2007, 16:24:19 »
Prosim o pomoc s instalaci DWG Viewer. Je to ve formatu tar.gz  a nevim co mam delat dal po rozbaleni. Nemelo by se to nejak kompilovat? program jsem stahnul odsud: http://www.linuxsoft.cz/sw_detail.php?id_item=7628
Ubuntu 6.06 - Ati Radeon 9250 128MB - [Gnome]

Vojtěch Trefný

  • Příspěvků: 9307
  • Don Quijote
instalace DWG Viewer
« Odpověď #1 kdy: 05 Ledna 2007, 16:44:54 »
Ach jo! Co takhle hledat, dřív než se ptát? To by ale bylo příliš složité, že?
FAQ 14

Honza

  • Návštěvník
  • Příspěvků: 60
instalace DWG Viewer
« Odpověď #2 kdy: 05 Ledna 2007, 17:07:43 »
Ne neni slozite si to najit. Samozrejme ze jsem to cetl, ale proste to podle toho nainstalovat nedokazu. Mam to rozbaleny, ale nedari se mi to kompilovat...:(
Ubuntu 6.06 - Ati Radeon 9250 128MB - [Gnome]

Vojtěch Trefný

  • Příspěvků: 9307
  • Don Quijote
instalace DWG Viewer
« Odpověď #3 kdy: 05 Ledna 2007, 17:19:28 »
Definujte prosím "nedaří se mi to kompilovat", není tam obsažen soubor (textový) a názvem install, read me..., měl by se tam nacházet návod na instalaci.

Honza

  • Návštěvník
  • Příspěvků: 60
instalace DWG Viewer
« Odpověď #4 kdy: 05 Ledna 2007, 17:33:18 »
Ano je tam readme soubor a v nem se pise toto:
Citace
2. Installation


    2.1 How to obtain Viewer

Viewer is hosted by Sourceforge.net.

Our home page is at: http://lx-viewer.sourceforge.net

The file release page is at:
http://sourceforge.net/project/showfiles.php?group_id=30996


    2.2 Requirements


      Library files

You must have the QT *development* libraries 3.0.5 (or newer) installed
plus the OpenDWG Linux library files /ad2.a/ and /ad3.a/. There are
several OpenDWG header files which we have modified and provide. These
files have the same name as the header files you will get from OpenDWG.
It is important that you use our headers, not the ones from OpenDWG.

OpenDWG has several libraries available. LX-Viewer is built using the
old C libraries, now known on the OD web site as "Legacy" libraries.
Using these libraries we can open and save any drawing version from 2.5
to 2000. LX-Viewer is not compatible with the new "DrawingDirect"
libraries and will not work with them.


    2.3 Compilation, Installation and Running


      Introduction

Once you have obtained the OpenDWG libraries and the tar.gz file
containing LX-Viewer from SourceForge you are ready to begin.
Installation *must* be done using the Root account. First step is to
extract the tar.gz file into a temporary working directory. The name of
this directory is not important and it can be deleted when the
installation is complete.

The second step is to locate the files /ad2.a/ and /ad3.a/ in your
OpenDWG downloads. The file /ad2.a/ is in the /Toolkit/ download and the
file /ad3.a/ is in the /Viewkit/ download. Once you have located these
files copy them into the OpenDWG directory that will be created inside
your working directory when you extract the tar.gz file. You do not need
any of the other files that came with the download from OpenDWG, and in
fact using some of these files (especially odio.h) will cause LX-Viewer
to not work. Once these steps have been done you are ready to build
LX-Viewer.


      Building

In order to compile and install Viewer on your system, use a console
window and navigate to the working directory. Then type the following:

% qmake -o makefile lxv.pro
% make
% make install

The first step creates a make file and executes very quickly. The second
step compiles and builds the files and takes a bit of time. The last
step copies the newly built files to the proper directories and again
executes very quickly. Once the third step is done the temporary
directory can be deleted if you wish.

Since LX-Viewer uses /qmake/ you should have not trouble compiling it.
Should you run into problems please report them to the project team at:
https://sourceforge.net/projects/lx-viewer


      Installation Location

/make install/ will create and install the program parts in the
following directories:

/usr/local/lx-viewer            : Will contain the executable file called lxv.
/usr/local/lx-viewer/docs      : Will contain the manual pages.
/usr/local/lx-viewer/OpenDWG   : Will be created and the file adinit.dat will be placed there.
/usr/local/lx-viewer/graphics   : Will be created and the splash screen plus some icon files
              will be placed there.
Pri zadani do terminalu:
Citace
qmake -o makefile lxv.pro
mi vyjede:
Citace
WARNING: DESTDIR: Cannot access directory 'lx-viewer' (usr/local/lx-viewer)
WARNING: Failure to find: OpenDWG/ad2.a
WARNING: Failure to find: OpenDWG/ad3.a
Tak jsem se snazil nejak najit OpenDWG  knihony, ale marne...
Ubuntu 6.06 - Ati Radeon 9250 128MB - [Gnome]

Vojtěch Trefný

  • Příspěvků: 9307
  • Don Quijote
instalace DWG Viewer
« Odpověď #5 kdy: 05 Ledna 2007, 17:42:21 »
Potřebuje to tyto soubory: /ad2.a/  /ad3.a/, podle toho, co jsem pochopil by měly být buď v tom archivu nebo by se měly dát stáhnout z jejich stránek.
A ještě bych se podíval, jestli existuje adresář /usr/local/lx-viewer a jestli do něj máte právo zapisovat.

Honza

  • Návštěvník
  • Příspěvků: 60
instalace DWG Viewer
« Odpověď #6 kdy: 05 Ledna 2007, 18:05:53 »
No tyto soubory v archivu nesjou a na jejich strankach jsem je take nenalezl :D, adresar /usr/local/lx-viewer existuje a pravo do nej zapisovat bych mel mit, kdyz jsem to v terminalu psal se sudem. Ale dobry. Stahl jsem si DWG VIEWER.EXE a spustil pres WINE. Nechapu proc u programu pro linux museji delat tak slozitou instalaci...

vojtech.t: dekuji za odpovedi :), budu pouzivat zmineny program pres wine
Ubuntu 6.06 - Ati Radeon 9250 128MB - [Gnome]

 

Provoz zaštiťuje spolek OpenAlt.