Octave

Ukoliko imate problema sa instalacijom ili korišćenjem nekog programa, ovo je pravo mesto za vaše pitanje.

Moderators: Slackmuz, Urednik

Post Reply

Administrator
Administrator
offline
User avatar

Posts: 1680
Joined: 07 Jun 2012, 18:01
Location: Najlipši grad na svitu :)

Post Napisano: 24 Jun 2012, 10:39


Poštovani,

prilikom koraka ./octave.Slackbuild mi javlja ovu grešku:

Code: Select all

You don't have a working TeX binary (tex) installed anywhere in
your PATH, and texi2dvi cannot proceed without one.  If you want to use
this script, you'll need to install TeX (if you don't have it) or change
your PATH or TEX environment variable (if you do).  See the --help
output for more details.

For information about obtaining TeX, please see http://www.tug.org.  If
you happen to be using Debian, you can get it with this command:
  apt-get install tetex-bin
make[3]: *** [octave.dvi] Error 1
make[3]: Leaving directory `/tmp/SBo/octave-3.4.2/doc/interpreter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/SBo/octave-3.4.2/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/octave-3.4.2'
make: *** [all] Error 2
bash-4.1#
Pokretanjem pkgtool-a, među instaliranim paketima vidim

Code: Select all

┌───────────────────────SELECT PACKAGES TO REMOVE─────────────────────────┐
 │ Please select the packages you wish to Remove. Use the spacebar to      │  
 │ select packages to delete, and the UP/DOWN arrow keys to scroll up and  │  
 │ down through the entire list.                                           │  
 │ ┌────^(-)─────────────────────────────────────────────────────────────┐ │  
 │ │[ ] tcl-8.5.9-i486-1           tcl (Tool Command Language)           │ │  
 │ │[ ] tclx-8.4-i486-3            tclx (Extended Tcl)                   │ │  
 │ │[ ] tcp_wrappers-7.6-i486-1    tcp_wrappers (TCP/IP daemon wrapper li│ │  
 │ │[ ] tcpdump-4.1.1-i486-1       tcpdump (network monitoring tool)     │ │  
 │ │[ ] telnet-0.17-i486-1         telnet (the telnet client and daemon) │ │  
 │ │[ ] tetex-3.0-i486-8           tetex (teTeX binaries and support file│ │  
 │ │[ ] tetex-doc-3.0-i486-8       tetex-doc (Documentation for teTeX)   │ │  
 │ │[ ] texinfo-4.13a-i486-4       texinfo (GNU software documentation sy│ │  
 │ │[ ] tftp-hpa-0.49-i486-1       tftp-hpa (Trivial File Transfer Protoc│ │  
 │ │[ ] thunar-volman-0.3.80-i486- thunar-volman (Thunar Volume Manager P│ │  
 │ │[ ] tibmachuni-font-ttf-1.901b tibmachuni-font-ttf (Tibetan Machine )│ │  
 │ └────v(+)─────────────
Što mi je činiti?
Udruga SOK - službena stranica
Spreman sam umrijeti časno, ali ako nečasno, onda ništa



Prijatelj foruma
Prijatelj foruma
offline
User avatar

Posts: 699
Joined: 08 May 2007, 12:39
Location: Banja Luka

Post Napisano: 24 Jun 2012, 11:09


Prema ovom linku problem je prebacivanje na root nalog sa "su" umjesto "su -". Znači, prebaci se sa "su -", pa onda pokreni SlackBuild. ;)

Iz SlackBuilds HOWTO-a, tačka br. 3:
Note that for many builds, you will need to have a true login shell in order to have a correctly populated environment. Among other things, /usr/share/texmf/bin will not be in your PATH if you simply do "su" -- therefore, you will need to either use "su -l" when switching to root, or source the /etc/profile script after doing "su", or perhaps modifying /root/.bashrc to include necessary PATH elements.



Administrator
Administrator
offline
User avatar

Posts: 1680
Joined: 07 Jun 2012, 18:01
Location: Najlipši grad na svitu :)

Post Napisano: 24 Jun 2012, 11:22


hvala na odgovoru :)
pokušavam sad sa "su -l" pa ću javiti rezultat ;)
Udruga SOK - službena stranica
Spreman sam umrijeti časno, ali ako nečasno, onda ništa



Poznata ličnost
Poznata ličnost
offline
User avatar

Posts: 124
Joined: 28 Aug 2008, 15:58
Location: Beograd
Contact:

Post Napisano: 24 Jun 2012, 12:21


Da, to je moj post na LQ baš odavno... elem, poenta skripta koji sam pustio tamo je da uštedi vreme prilikom sledećeg kompajliranja, jer pre TeX greške, Octave je gotovo kompajliran, a početak prevođenja nakon su -l će pokrenuti sve de novo.Da se citiram sa lq
To skip recompiling all prior source, I have decided to comment parts of the SB script connected with preparations and configurations steps, so the script could just continue make process. First, of course, updated PATH as PATH=$PATH:/usr/share/texmf/bin. And this is how it looks like, if someone faces same problem and want to escape entire Octave recompiling... As mentioned, this script just continues process if original script fails with TeX.
Pozdrav drugari, pratim forum, ali mi vreme ne dozvoljava da budem aktivniji.



Administrator
Administrator
offline
User avatar

Posts: 1680
Joined: 07 Jun 2012, 18:01
Location: Najlipši grad na svitu :)

Post Napisano: 24 Jun 2012, 13:04


sve radi, instaliran i QtOctave :)
Hvala na pomoći :)
Udruga SOK - službena stranica
Spreman sam umrijeti časno, ali ako nečasno, onda ništa


Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests