AF
Asterisk Forum
обсуждения телефонии, VoIP и IP-PBX
12разделов
5 423тем
34 385сообщений
← К списку тем

Hylafax

Asterisk GUI 22 сообщений -
#1

Добрый день форумчане!
Помогите с установкой Hylafax
При конфигурации выдает:

# ./configure

Configuring HylaFAX ™ (aka FlexFAX) 6.0.6.

If configure does the wrong thing, check the file config.log for
information that may help you understand what went wrong.

Reading site-wide parameters from ./config.site.
I'm always happy to encounter another powerpc-unknown-linux-gnu system.
Using /opt/bin/gcc for a C compiler (set CC to override).
Looks like /opt/bin/gcc supports the -g option.
Using " -g" for C compiler options.
Looks like /opt/bin/gcc has an ANSI C preprocessor.
... but __ANSI_CPP__ is not automatically defined, will compensate.
Looks like /opt/bin/gcc supports the -M option for generating make dependencies.
Using /opt/bin/gcc for a C++ compiler (set CXX to override).
Looks like /opt/bin/gcc supports the -g option.
Using " -g" for C++ compiler options.
Looks like /opt/bin/gcc has an ANSI C preprocessor.
... but __ANSI_CPP__ is not automatically defined, will compensate.
No make located in the search path.

There was no make program in the search path used by this script.
If make is in a non-standard location, then set the MAKE environment
variable to the pathname of the appropriate program or change your
shell search path to include the directory where the program is located.

Unrecoverable error! Once you've corrected the problem rerun this script.
#2

There was no make program in the search path used by this script.
If make is in a non-standard location, then set the MAKE environment
variable to the pathname of the appropriate program or change your
shell search path to include the directory where the program is located.
#3

xelas, я понимаю, что проблема с путями. Прошу помощи правильно их записать, как и в каком файле.
#4

А я из пакетов ставил всегда хилафакс. Вот иаксмодем и астериск - компилировал
#5

Вам нужна программа make. Как ее поставить и где взять, учитывая что архитектура у вас powerpc, судя по преведнному логу, а так же где одна должна стоять и как в вашей ОС прописываются пути, вы можете узнать и справочных руководств к вашей ОС/дистрибутиву.
Как вы наверное догадываетесь, мы не в силах знать особенности и тонкости всех ОС. Тем более, на таких экзотических архитектурах как PowerPC.
#6

Поставил я make теперь такая ошибка
# ./configure

Configuring HylaFAX (tm) (aka FlexFAX) 6.0.6.

If configure does the wrong thing, check the file config.log for
information that may help you understand what went wrong.

Reading site-wide parameters from ./config.site.
Fee, fie, foe, this smells like a powerpc-unknown-linux-gnu system.
Using /opt/bin/gcc for a C compiler (set CC to override).
Looks like /opt/bin/gcc supports the -g option.
Using " -g" for C compiler options.
Looks like /opt/bin/gcc has an ANSI C preprocessor.
... but __ANSI_CPP__ is not automatically defined, will compensate.
Looks like /opt/bin/gcc supports the -M option for generating make dependencies.
Using /opt/bin/gcc for a C++ compiler (set CXX to override).
Looks like /opt/bin/gcc supports the -g option.
Using " -g" for C++ compiler options.
Looks like /opt/bin/gcc has an ANSI C preprocessor.
... but __ANSI_CPP__ is not automatically defined, will compensate.
Using /opt/bin/make to configure the software.
Using "include file" syntax for Makefiles.
Looks like make supports "sinclude" for conditional includes.
Using /opt/bin/bash to process command scripts.

Missing C++ runtime support for gcc (/opt/bin/gcc).

Compilation of the following test program failed:

----------------------------------------------------------
#include
int main(){ cout
#7

Цитата:
If you do not have a C++ library installed, then you must install it.


Вам нужно поставить библиотеку, которая в миру линукс называется libstdc++
#8

стоит она у меня
Package libstdc++ (6.0.3-6) installed in root is up to date.
#9

покажите вывод
Код:
/opt/bin/gcc -v
#10

Reading specs from /opt/lib/gcc/powerpc-linux-gnuspe/3.4.6/specs
Configured with: ../gcc-3.4.6/configure --build=i386-pc-linux-gnu --host=powerpc-linux-gnuspe --target=powerpc-linux-gnuspe --prefix=/opt --disable-nls --disable-static --with-as=/home/slug/optware/syno-e500/toolchain/gcc-3.4.3-glibc-2.3.4/powerpc-linux-gnuspe/bin/powerpc-linux-gnuspe-as --with-ld=/home/slug/optware/syno-e500/toolchain/gcc-3.4.3-glibc-2.3.4/powerpc-linux-gnuspe/bin/powerpc-linux-gnuspe-ld --enable-languages=c,c++ --disable-multilib
Thread model: posix
gcc driver version 3.4.6 executing gcc version 3.4.3
#11

В теории, где-то в районе /opt/lib/ -- зависит от того, где у вас стоит libstdc++, должена лежать сама библиотека libstdc++.so.6
А в /opt/lib/gcc/powerpc-linux-gnuspe/3.4.6/ должен быть на нее симлинк. Если нет -- нужно создать.

Единственное что меня смущает, так это то, что версия libstdc++ у вас установлена довольно свежая, а gcc довольно древний.
Так что, возможно, вам нужно установить compat-libstdc++-33, которая использовалась как libstdc++ в те древние времена.

К сожалению, я не уверен в этом на сто процентов, так как уже не помню какая именно версия libstdc++ использовалась с gcc 3.4.3.

Скажите, вам действительно нужно собрать HylaFax из исходников? Может быть он уже есть для вашей архитектуры готовый? Кстати,
расскажи те по секрету Smile какая же все-таки у вас ОС/дистрибутив?
#12

xelas спасибо за помощь.

Added after 3 minutes:

Кстати, расскажи те по секрету какая же все-таки у вас ОС/дистрибутив?

NAS-сервер Synology ds413

Added after 18 minutes:

ipkg list |grep HylaFax
пусто
#13

А пришлите весь config.log. Тока не копи-пастом а как аттач. А то админы ругатся будут.
#14

xelas библиотека есть.
/opt/lib/libstdc++.so.6
симлинка нет.
ln -s /opt/lib/gcc/powerpc-linux-gnuspe/3.4.6 /opt/lib/
так создать его?
#15

нет.
Код:
ln -s /opt/lib/libstdc++.so.6 /opt/lib/gcc/powerpc-linux-gnuspe/3.4.6/
#16

Embarassed
#17

Вам нужно не libstdc++ а libg++.
#18

#ipkg list |grep libg

libgc - 6.8-1 - The Boehm-Demers-Weiser conservative garbage collector can be used as a garbage collecting replacement for C malloc or C++ new.
libgcrypt - 1.5.0-1 - GNU cryptography libray, needed by gnutls
libgd - 2.0.35-6 - An ANSI C library for the dynamic creation of images
libghttp - 1.0.9-1 - libghttp is a light-weight http fetching library.
libgmp - 4.3.2-1 - GNU Multiple Precision Arithmetic Library.
libgpg-error - 1.10-1 - Error handling library for libgcrypt
libgphoto2 - 2.4.1-1 - digital camera software libraries
libgsasl - 1.6.1-1 - GNU SASL command line utility.
php-gd - 5.2.17-2 - libgd extension for php
#19

попробуйте поискать что нибудь по g++
#20

xelas с ++ нет пакета вот все что есть

ipkg list |grep gc
gcal - 3.6-1 - Gcal calculates and prints calendars.
gcc - 3.4.6-5 - The GNU Compiler Collection.
gconv-modules - 2.3.4-1 - Provides gconv modules missing from the firmware. These are used by glibc iconv() implementation.
libgc - 6.8-1 - The Boehm-Demers-Weiser conservative garbage collector can be used as a garbage collecting replacement for C malloc or C++ new.
libgcrypt - 1.5.0-1 - GNU cryptography libray, needed by gnutls
libgpg-error - 1.10-1 - Error handling library for libgcrypt
libsigc++ - 2.2.3-1 - libsigc++ implements a typesafe callback system for standard C++.
pkgconfig - 0.15.0-2 - Package configuration tool
#21

Тогда я вам очень соболезную. Видимо не судьба.
Кстати, если вы хотели поставить там Hylafax, что бы он служил вам факссервером(вместе с астериск, установленным тамже, как я понимаю), то зря вы за это взялись. Так как помимо самого hylafax-а вам понадобится еще какой-нибудь iaxmodem, или t38modem, которые тоже придется собирать в ручную, и при этом нет гарантий что они собирутся.
У вас есть два выхода:
1) обратиться за помощью к сообществу поддерживающее порт линукса и репозитарий готовых пакетов для вашей архитектуры.
2) не мучаться, и поставить факссервер на отдельной, нормальной машине, с человеческой ОС.

Added after 1 minutes:

В любом случае, сборка hylafax, да еще и на неведомой архитектуре, на мой взгляд выходит за рамки данного форума.
#22

xelas большое спасибо за помощь.
Может подскажите еще какие-то варианты с факсом?