Как установить TexLive на VDS с FreeBSD?

Вопросы по работе дополнительного ПО, которое можно поставить самому.

Модератор: Art.i

Как установить TexLive на VDS с FreeBSD?

Сообщение ijkl » Сб мар 14, 2015 8:01 pm

Как установить TexLive на VDS с FreeBSD?
Это нужно для того, чтоб работал CGI mathTeX на сервере.
ijkl
 
Сообщений: 215
Зарегистрирован: Чт окт 03, 2013 5:42 pm

Re: Как установить TexLive на VDS с FreeBSD?

Сообщение pepper » Сб мар 14, 2015 8:36 pm

Поиск в портах показал это:
root@dreys:/usr/ports # make search name=texlive |grep Path
Path: /usr/ports/print/texlive-base
Path: /usr/ports/print/texlive-docs
Path: /usr/ports/print/texlive-full
Path: /usr/ports/print/texlive-infra
Path: /usr/ports/print/texlive-texmf
Path: /usr/ports/print/texlive-texmf-source
root@dreys:/usr/ports #

Попробуйте установить так:
make -C /usr/ports/print/texlive-base install clean
pepper
Support team
 
Сообщений: 551
Зарегистрирован: Пн окт 07, 2013 4:06 am

Re: Как установить TexLive на VDS с FreeBSD?

Сообщение ijkl » Вс мар 15, 2015 10:24 am

Через Putty подключился, выполнил make -C /usr/ports/print/texlive-base install clean. Ксати, что значит флаг -C?

Иногда появлялось что-то типа окошка с опциями. Я всегда соглашался. Видимо, это были какие-то рекомендуемые и необязательные приложения.

Долго распаковывалось и закончилось этим:
Код: выделить все
*** [Compiler.lo] Error code 2
1 error
*** [all-recursive] Error code 1
1 error
*** [all] Error code 2
1 error
===> Compilation failed unexpectedly.
Cannot fork: Cannot allocate memory
*** [do-build] Error code 2

Stop in /usr/ports/textproc/teckit.
*** [lib-depends] Error code 1

Stop in /usr/ports/print/texlive-base.


Как узнать, что установилось, и как удалить лишнее?
ijkl
 
Сообщений: 215
Зарегистрирован: Чт окт 03, 2013 5:42 pm

Re: Как установить TexLive на VDS с FreeBSD?

Сообщение pepper » Вс мар 15, 2015 10:42 am

У вас, скорее всего, один из начальных тарифов и просто не хватило памяти для сборки пакета:
>> Cannot fork: Cannot allocate memory
Рекомендуем поднять кол-во памяти на тарифе, если возможно или выключить всё, то потребляет память на время сборки пакета (веб-сервер, например).

флаг -С позволяет указать директорию в которой выполнять команды make, make install (чтобы не переходить в эту директорию).
pepper
Support team
 
Сообщений: 551
Зарегистрирован: Пн окт 07, 2013 4:06 am

Re: Как установить TexLive на VDS с FreeBSD?

Сообщение ijkl » Вс мар 15, 2015 11:56 am

Там установился Gostscript. Он мне не нужен. Поставил память 1024МБ.
Пытался установить texlive-texmf.

Такое получается. Что это может быть? Это ошибка сборки на сервере или глюки самого пакета?

Код: выделить все
root@myname:/usr/ports # make -C /usr/ports/print/texlive-texmf install clean
=> texlive-20120701-texmf.tar.xz doesn't seem to exist in /usr/ports/distfiles/TeX.
=> Attempting to fetch ftp://ftp.tug.org/historic/systems/texlive/2012/texlive-20120701-texmf.tar.xz

texlive-20120701-texmf.tar.xz                 100% of 1361 MB 2230 kBps 00m00s
===> Fetching all distfiles required by texlive-texmf-20120701_4 for building
===>  Extracting for texlive-texmf-20120701_4
=> SHA256 Checksum OK for TeX/texlive-20120701-texmf.tar.xz.
===>  Patching for texlive-texmf-20120701_4
===>   texlive-texmf-20120701_4 depends on executable: tlmgr - not found
===>    Verifying install for tlmgr in /usr/ports/print/texlive-base
===>  Building for texlive-base-20120701_8
Making all in .
gmake[1]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source'
gmake[1]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source'
Making all in libs
gmake[1]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs'
Making all in .
gmake[2]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs'
gmake[2]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs'
Making all in obsdcompat
gmake[2]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/obsdcompat'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/obsdcompat'
Making all in poppler
gmake[2]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/poppler'
gmake  all-recursive
gmake[3]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/poppler'
Making all in goo
gmake[4]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/poppler/goo'
gmake[4]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/poppler/goo'
Making all in fofi
gmake[4]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/poppler/fofi'
gmake[4]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/poppler/fofi'
Making all in poppler
gmake[4]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/poppler/poppler'
gmake  all-am
gmake[5]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/poppler/poppler'
gmake[5]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/poppler/poppler'
gmake[4]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/poppler/poppler'
gmake[4]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/poppler'
gmake[4]: Nothing to be done for `all-am'.
gmake[4]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/poppler'
gmake[3]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/poppler'
gmake[2]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/poppler'
Making all in xpdf
gmake[2]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/xpdf'
gmake  all-recursive
gmake[3]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/xpdf'
Making all in goo
gmake[4]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/xpdf/goo'
gmake[4]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/xpdf/goo'
Making all in fofi
gmake[4]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/xpdf/fofi'
gmake[4]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/xpdf/fofi'
Making all in splash
gmake[4]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/xpdf/splash'
gmake[4]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/xpdf/splash'
Making all in xpdf
gmake[4]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/xpdf/xpdf'
gmake[4]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/xpdf/xpdf'
gmake[4]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/xpdf'
gmake[4]: Nothing to be done for `all-am'.
gmake[4]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/xpdf'
gmake[3]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/xpdf'
gmake[2]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs/xpdf'
gmake[1]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/libs'
Making all in utils
gmake[1]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils'
Making all in .
gmake[2]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils'
gmake[2]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils'
Making all in chktex
gmake[2]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils/chktex'
gmake  all-am
gmake[3]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils/chktex'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils/chktex'
gmake[2]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils/chktex'
Making all in mtx
gmake[2]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils/mtx'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils/mtx'
Making all in pmx
gmake[2]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils/pmx'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils/pmx'
Making all in ps2eps
gmake[2]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils/ps2eps'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils/ps2eps'
Making all in t1utils
gmake[2]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils/t1utils'
gmake  all-am
gmake[3]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils/t1utils'
gmake[3]: Nothing to be done for `all-am'.
gmake[3]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils/t1utils'
gmake[2]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils/t1utils'
Making all in tpic2pdftex
gmake[2]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils/tpic2pdftex'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils/tpic2pdftex'
Making all in vlna
gmake[2]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils/vlna'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils/vlna'
Making all in xpdfopen
gmake[2]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils/xpdfopen'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils/xpdfopen'
gmake[1]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/utils'
Making all in texk
gmake[1]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/texk'
Making all in .
gmake[2]: Entering directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/texk'
=== configuring in dvisvgm (/usr/ports/print/texlive-base/work/texlive-20120701-source/texk/dvisvgm)
make: running /bin/sh './configure'  '--disable-option-checking' '--prefix=/usr/local' '--disable-native-texlive-build' '--disable-web-progs' '--disable-psutils' '--enable-shared' '--enable-build-in-source-tree' '--datarootdir=/usr/local/share' '--with-system-freetype' '--with-freetype-includes=/usr/local/include/freetype1/freetype' '--with-freetype-libdir=/usr/local/lib' '--with-system-freetype2' '--with-freetype2-includes=/usr/local/include/freetype2' '--with-freetype2-libdir=/usr/local/lib' '--with-system-gd' '--with-system-graphite' '--with-system-icu' '--with-icu-include=/usr/local/include' '--with-icu-libdir=/usr/local/lib' '--with-system-kpathsea' '--with-kpathsea-include=/usr/local/include/kpathsea' '--with-kpathsea-libdir=/usr/local/lib' '--with-system-libgs' '--with-libgs-includes=/usr/local/include' '--with-libgs-libdir=/usr/local/lib' '--with-system-libpng' '--with-system-ptexenc' '--with-ptexenc-include=/usr/local/include/ptexenc' '--with-ptexenc-libdir=/usr/local/lib' '--with-system-t1lib' '--with-system-teckit' '--with-system-zziplib' '--with-system-zlib' '--x-libraries=/usr/local/lib' '--x-includes=/usr/local/include' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=amd64-portbld-freebsd9.1' 'build_alias=amd64-portbld-freebsd9.1' 'CC=cc' 'CFLAGS=-O2 -pipe -I/usr/local/include -I/usr/local/include/kpathsea -I/usr/local/include/ptexenc -fno-strict-aliasing' 'LDFLAGS=' 'CPPFLAGS=' 'CPP=cpp' 'CXX=c++' 'CXXFLAGS=-O2 -pipe -I/usr/local/include -I/usr/local/include/kpathsea -I/usr/local/include/ptexenc -fno-strict-aliasing' '--enable-largefile' '--enable-multiplatform=no' '--enable-cxx-runtime-hack=no' '--enable-libtool-hack=yes' '--enable-texlive-build' '--with-x' '--enable-chktex=yes' '--enable-mtx=yes' '--enable-pmx=yes' '--enable-ps2eps=yes' '--enable-t1utils=yes' '--enable-tpic2pdftex=yes' '--enable-vlna=yes' '--enable-xindy=no' '--with-clisp-runtime=system' '--enable-xpdfopen=yes' '--enable-afm2pl=yes' '--enable-bibtex8=yes' '--enable-bibtexu=yes' '--enable-cjkutils=yes' '--enable-detex=yes' '--enable-devnag=yes' '--enable-dtl=yes' '--enable-dvi2tty=yes' '--enable-dvidvi=yes' '--enable-dviljk=yes' '--enable-dvipng=yes' '--enable-dvipos=yes' '--enable-dvisvgm=yes' '--enable-gsftopk=yes' '--enable-lacheck=yes' '--enable-lcdf-typetools=yes' '--enable-makeindexk=yes' '--enable-makejvf=yes' '--enable-mendexk=yes' '--enable-ps2pkm=yes' '--enable-seetexk=yes' '--enable-tex4htk=yes' '--enable-ttf2pk=yes' '--enable-ttf2pk2=no' '--enable-ttfdump=yes' '--enable-xdv2pdf=yes' '--enable-xdvipdfmx=yes' '--enable-tetex=yes' '--enable-texlive=yes' '--with-system-xpdf=no' '--with-system-poppler=no' '--cache-file=/dev/null' '--srcdir=.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ../../build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking build system type... amd64-portbld-freebsd9.1
checking host system type... amd64-portbld-freebsd9.1
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert amd64-portbld-freebsd9.1 file names to amd64-portbld-freebsd9.1 format... func_convert_file_noop
checking how to convert amd64-portbld-freebsd9.1 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... cpp
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd9.1 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking whether closedir returns void... no
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for memory.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for unistd.h... (cached) yes
checking for putenv... yes
checking for strcasecmp... yes
checking for strtol... yes
checking for strstr... yes
checking for bcmp... yes
checking for bcopy... yes
checking for bzero... yes
checking for getcwd... yes
checking for getwd... yes
checking for index... yes
checking for memcmp... yes
checking for memcpy... yes
checking for mkstemp... yes
checking for mktemp... yes
checking for rindex... yes
checking for strchr... yes
checking for strrchr... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for struct stat.st_mtim... yes
checking whether the compiler accepts prototypes... yes
checking what warning flags to pass to the C compiler... -Wimplicit -Wreturn-type -Wdeclaration-after-statement -Wno-unknown-pragmas
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd9.1 ld.so
checking how to hardcode library paths into programs... immediate
checking what warning flags to pass to the C++ compiler... -Wimplicit -Wreturn-type -Wno-unknown-pragmas -Wno-write-strings
checking how to run the C++ preprocessor... c++ -E
checking for library containing sqrt... -lm
checking for ftime... no
checking for gettimeofday... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for native WIN32 or MINGW32... no
configure: creating ./config.lt
config.lt: creating libtool
checking if libkpathsea supports debugging... yes
checking for freetype-config... freetype-config
checking ghostscript/iapi.h usability... no
checking ghostscript/iapi.h presence... no
checking for ghostscript/iapi.h... no
checking for gsapi_new_instance... no
configure: error: cannot find/use libgs
=== configuring in dvisvgm failed
gmake[2]: *** [subtexk] Error 1
gmake[2]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/texk'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/texk'
gmake: *** [all-recursive] Error 1
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/ports/print/texlive-base.
*** [build-depends] Error code 1

Stop in /usr/ports/print/texlive-texmf.
ijkl
 
Сообщений: 215
Зарегистрирован: Чт окт 03, 2013 5:42 pm

Re: Как установить TexLive на VDS с FreeBSD?

Сообщение pepper » Вс мар 15, 2015 12:14 pm

Смотрите сюда:
>> configure: error: cannot find/use libgs
Не найдена библиотека libgs

Ближайшее, что нахожу в портах: devel/libgsf
Попробуйте установить этот пакет:
make -C /usr/ports/devel/libgsf install
pepper
Support team
 
Сообщений: 551
Зарегистрирован: Пн окт 07, 2013 4:06 am

Re: Как установить TexLive на VDS с FreeBSD?

Сообщение ijkl » Вс мар 15, 2015 12:18 pm

Дело в том, что я после самой первой неудачной установки решил почистить лишнее, установил pkg_cleanup. С помощью него удалил gostcript, а затем на второй итерации как зависимые от него cups-image, gsfonts, jbig2dec, libpaper, svgalib, cups-client. Может удалил что-то лишнее? Как узнать, что было раньше?
ijkl
 
Сообщений: 215
Зарегистрирован: Чт окт 03, 2013 5:42 pm

Re: Как установить TexLive на VDS с FreeBSD?

Сообщение pepper » Вс мар 15, 2015 1:30 pm

В списке перечисленных удаленных пакетов не вижу проблем.
В любом случае, при компиляции пакета, если не будет хватать другого пакета, об этом будет написано в сообщении об ошибке.
Как я написал ранее, сейчас не хватает libgs.
pepper
Support team
 
Сообщений: 551
Зарегистрирован: Пн окт 07, 2013 4:06 am

Re: Как установить TexLive на VDS с FreeBSD?

Сообщение ijkl » Вс мар 15, 2015 2:16 pm

Странно, почему при первой установке никаких проблем с libgs не было..
ijkl
 
Сообщений: 215
Зарегистрирован: Чт окт 03, 2013 5:42 pm

Re: Как установить TexLive на VDS с FreeBSD?

Сообщение pepper » Вс мар 15, 2015 2:38 pm

До неё могла не дойти очередь, когда кончилась доступная память.
pepper
Support team
 
Сообщений: 551
Зарегистрирован: Пн окт 07, 2013 4:06 am

Re: Как установить TexLive на VDS с FreeBSD?

Сообщение ijkl » Вс мар 15, 2015 7:17 pm

Заказал новый сервер Debian+amd64+ipsmrg5.

Установил texlive и dvipng. Хотя пока точно не понял, какие именно исполнительные файлы latex и dvipng, к которым надо будет привязывать скрипт CGI при компилировании.

Не получается выполнить команду:

Код: выделить все
# cc mathtex.c -DLATEX=\"/usr/bin/latex\" -DDVIPNG=\"usr/bin/dvipng\" -o mathtex.cgi


сообщает:
-bash: cc: command not found

команада gcc также не определена.

Как установить компилятор?
ijkl
 
Сообщений: 215
Зарегистрирован: Чт окт 03, 2013 5:42 pm

Re: Как установить TexLive на VDS с FreeBSD?

Сообщение pepper » Вс мар 15, 2015 7:53 pm

На Debian gcc ставится вместе с мета-пакетом:
sudo apt-get install build-essential
pepper
Support team
 
Сообщений: 551
Зарегистрирован: Пн окт 07, 2013 4:06 am


Вернуться в Дополнительные программы

Кто сейчас на форуме

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 2

cron