LINUX.ORG.RU

Как собрать php на slackware64-14.2?

 


0

2

Скачал папку - https://ftp.nluug.nl/os/Linux/distr/slackware/slackware-current/source/n/php/
Сделал:

sh php.SlackBuild
Обломилось на cd ../alpine
Скачал alpine: https://ftp.nluug.nl/os/Linux/distr/slackware/slackware-current/source/n/alpine/
Делаю опять:
# sh php.SlackBuild 
chmod: невозможно обработать повисшую символьную ссылку './web/detach'
chmod: невозможно обработать повисшую символьную ссылку './web/cgi/detach'
chmod: невозможно обработать повисшую символьную ссылку './web/cgi/alpine/2.0/lib/yui'
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- ./doc/man1/alpine.1.orig	2017-02-05 18:06:22.535218936 -0600
|+++ ./doc/man1/alpine.1	2017-03-21 12:55:47.314513532 -0500
--------------------------
patching file doc/man1/alpine.1
Using Plan A...
Hunk #1 succeeded at 325.
done
checking for a BSD-compatible install... /bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-slackware-linux-gnu
checking host system type... x86_64-slackware-linux-gnu
configure: Configuring for alpine 2.21 (x86_64-slackware-linux-gnu))
checking for gcc... gcc
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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking whether make sets $(MAKE)... (cached) yes
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking for ranlib... ranlib
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/x86_64-slackware-linux/bin/ld
checking if the linker (/usr/x86_64-slackware-linux/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 the maximum length of command line arguments... 1572864
checking how to convert x86_64-slackware-linux-gnu file names to x86_64-slackware-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-slackware-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-slackware-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
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 for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-slackware-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux 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 ar... /usr/bin/ar
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for ln... /bin/ln
checking for ls... /bin/ls
checking for sed... (cached) /bin/sed
checking for make... /usr/bin/make
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/x86_64-slackware-linux/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-slackware-linux/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking option: dmalloc enabled... no
checking option: debugging is enabled... no
checking option: optimization is enabled... yes
checking option: mouse support enabled... yes
checking option: quotas enabled... no
checking option: From changing enabled... yes
checking option: background post enabled... yes
checking option: keyboard lock enabled... yes
checking option: from encoding enabled... no
checking for sendmail... /usr/sbin/sendmail
checking for inews... no
checking for passwd... /usr/bin/passwd
checking for hunspell... hunspell
checking for hunspell... /usr/bin/hunspell
checking for hunspell... hunspell
checking for hunspell... /usr/bin/hunspell
configure: --with-passfile definition overrides OS-Specific password caching
configure: Excluding TCL Support, and thus Web Alpine Support
checking for pam_start in -lpam... no
checking for setupterm in -ltinfo... no
checking for setupterm in -lncurses... yes
checking for library containing dlopen... -ldl
checking if OpenSSL is LibreSSL... no
checking Openssl library version >= 1.0.0c... yes
checking Openssl library version >= 1.1.0... no
checking for library containing SSLeay... -lcrypto
checking for library containing TLSv1_2_client_method... -lssl
checking for library containing SSL_library_init... none required
checking for ber_alloc in -llber... yes
checking for library containing ldap_initialize... -lldap
configure: * * * Including LDAP Support
checking for library containing gss_init_sec_context... no
configure: NOT including Kerberos Support: libraries not found
checking for library containing regcomp... none required
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for pthread support... checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
yes
checking for library containing nanosleep... none required
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether stat file-mode macros are broken... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether termios.h defines TIOCGWINSZ... no
checking whether sys/ioctl.h defines TIOCGWINSZ... yes
checking for unistd.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking for memory.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking sys/syslog.h usability... yes
checking sys/syslog.h presence... yes
checking for sys/syslog.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for mode_t... yes
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for union wait... yes
checking for stdint.h... (cached) yes
checking for stdint.h... (cached) yes
checking argument pointer type of qsort compare function and base... void
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for working strcoll... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for strchr... yes
checking for memcpy... yes
checking for strtol... yes
checking for strtoul... yes
checking for select... yes
checking for poll... yes
checking for qsort... yes
checking for getuid... yes
checking for getpwuid... yes
checking for getpwnam... yes
checking for gettimeofday... yes
checking for tmpfile... yes
checking for uname... yes
checking for rename... yes
checking for read... yes
checking for signal... yes
checking for setjmp... yes
checking for chown... yes
checking for wait4... yes
checking for waitpid... yes
checking for wait... yes
checking for srandom... yes
checking for popen... yes
checking for pclose... yes
checking for fsync... yes
checking for truncate... yes
checking for listen... yes
checking for wcwidth... yes
checking for mbstowcs... yes
checking for wcrtomb... yes
checking for putenv... yes
checking for setenv... yes
checking for library containing gethostname... none required
checking for library containing socket... none required
checking for library containing bind... none required
checking for sigaction... yes
checking for sigemptyset... yes
checking for sigaddset... yes
checking for sigprocmask... yes
checking for library containing syslog... none required
configure: * * * S/MIME support enabled
configure: * * * TCL libraries could not be found.
configure: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT.
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating m4/Makefile
config.status: creating po/Makefile.in
config.status: creating pith/osdep/Makefile
config.status: creating pith/charconv/Makefile
config.status: creating pith/Makefile
config.status: creating pico/osdep/Makefile
config.status: creating pico/Makefile
config.status: creating alpine/osdep/Makefile
config.status: creating alpine/Makefile
config.status: creating web/src/Makefile
config.status: creating web/src/pubcookie/Makefile
config.status: creating web/src/alpined.d/Makefile
config.status: creating Makefile
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
/bin/rm: cannot remove 'libtoolT': No such file or directory
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
if test ! -L c-client ; then ln -s imap/c-client c-client ; fi
touch imap/ip6
cd imap && /usr/bin/make slx EXTRACFLAGS=" -DTLSV1_2 -I/usr/include  -O2 -fPIC" EXTRALDFLAGS=" -L/usr/lib   -lldap -lssl -lcrypto -ldl  -lncurses -llber"  EXTRASPECIALS="SSLINCLUDE=/usr/include SSLLIB=/usr/lib SSLDIR=/usr SSLCERTS=/etc/ssl/certs "
make[1]: вход в каталог «/tmp/alpine-2.21/imap»
make[2]: вход в каталог «/tmp/alpine-2.21/imap»
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Building in PARTIAL compliance with RFC 3501 security
+ requirements:
+ Compliant:
++ TLS/SSL encryption is supported
+ Non-compliant:
++ Unencrypted plaintext passwords are permitted
+
+ In order to rectify this problem, you MUST build with:
++ SSLTYPE=unix.nopwd
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Do you want to continue this build anyway? Type y or n please:
make[3]: вход в каталог «/tmp/alpine-2.21/imap»
make[3]: предупреждение: сервер заданий недоступен: используется -j1. Добавьте «+» к правилу в родительском make.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ At your request, this build with unencrypted authentication has
+ been CANCELLED.
+ You must start over with a new make command.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
make[3]: выход из каталога «/tmp/alpine-2.21/imap»
Makefile:577: ошибка выполнения рецепта для цели «sslunix»
make[2]: *** [sslunix] Ошибка 1
make[2]: выход из каталога «/tmp/alpine-2.21/imap»
Makefile:673: ошибка выполнения рецепта для цели «an»
make[1]: *** [an] Ошибка 2
make[1]: выход из каталога «/tmp/alpine-2.21/imap»
Makefile:971: ошибка выполнения рецепта для цели «c-client»
make: *** [c-client] Ошибка 2
Вот это у меня не собирается alpine получается, он для чего то php нужен. И что делать? Тож самое если взять пакеты из 14.2, так что проблема не в том что из current беру...

Deleted

Последнее исправление: Deleted (всего исправлений: 1)

Ответ на: комментарий от anonymous

Посмотрел инфу, ну для почты что то. В php же есть emailsend или что то такое, для этого наверное? Или что?

alpine: alpine (Alternatively Licensed Program for Internet News and Email)
alpine:
alpine: Alpine is a fast, easy to use email client that is suitable for both
alpine: the inexperienced email user as well as for the most demanding of
alpine: power users.  Alpine is based on the Pine(R) Message System, which
alpine: was also developed at the University of Washington.  Alpine can be
alpine: learned by exploration and the use of context-sensitive help.  The
alpine: user experience is highly customizable through the use of the Alpine
alpine: Setup command.
alpine:
alpine: The Alpine site may be found here:  http://patches.freeiz.com/alpine

Deleted
()
Ответ на: комментарий от meliafaro

Мне нужен php7 именно, в stable сейчас только php5, который устарел и вообще уже не поддерживается даже.

Deleted
()
Ответ на: комментарий от meliafaro

Я пробовал бинарником из current его брать, я так gcc себе новый ставлю, но php что то не запускается, segement fault выдает...

Deleted
()

echo y | make EXTRACFLAGS=«-fPIC» SSLTYPE=unix || exit 1

Можно попробовать убрать echo y и ввести y самому.

xaizek ★★★★★
()
Ответ на: комментарий от xaizek

Кхм, а как это должно помочь? Что то я даже не понимаю в чем трабла. Убрал, та же ошибка. Даже не спрашивает ничего на ввод...

Deleted
()
Ответ на: комментарий от Deleted

Я решил, что он y не может прочитать. Или можно попробовать задать SSLTYPE=unix.nopwd как пишет. Может bormant прав, и просто что-то не установлено.

xaizek ★★★★★
()
Ответ на: комментарий от bormant

Хм, не отмечал kde, и пару приложений из xap, сейчас поставлю.

Deleted
()
Ответ на: комментарий от bormant

Вот в том что я приложил есть такое:

configure: * * * SSL file "/etc/ssl/certs/factory.pem" is missing.
Уж не знаю кто что генерирует, но я еще отключал ssh по дефолту когда спрашивали про сервисы. Оно там при установке ничего важного не генерирует?

Deleted
()
Ответ на: комментарий от Deleted

Возьмите слакбилды с исходниками из current, в alpine (возможно и стоковый пойдет, тут не проверял), pcre2 и libedit закомментируйте удаление *.la, в php.SlackBuild этого не нужно.
KDE не нужен, по крайней мере я проверял без него.

bormant ★★★★★
()
Ответ на: комментарий от bormant

Везде одна и та же ошибка, что из current беру, что из stable... Мне кажется что то с /etc/ssl/certs! Можно пожалуйста вывод ls /etc/ssl/certs? Я сравню.

Deleted
()
Ответ на: комментарий от Deleted

Так, сделал ln -s ca-certificate.crt factory.pem ошибка пропала, но собираться все равно не захотело, та же трабла...

Deleted
()
Ответ на: комментарий от Deleted

Под рукой сейчас нет системы, но эталонное содержимое (список) можно погрепать из манифеста:
cd /tmp; wget .../slackware64/MANIFEST.bz2
bzgrep etc/ssl/certs/ MANIFEST.bz2

bormant ★★★★★
()
Последнее исправление: bormant (всего исправлений: 1)
Ответ на: комментарий от Deleted

отключал ssh по дефолту когда спрашивали про сервисы. Оно там при установке ничего важного не генерирует?

Генерирует, но если правильно путаю, при запуске сервиса, не при собственно установке. Так что тут можно ситуацию поправить без труда.

bormant ★★★★★
()
Последнее исправление: bormant (всего исправлений: 1)
Ответ на: комментарий от bormant

Ну не в них видимо дело, уже позапускал, и погрепал, все вроде бы ок у меня.

Deleted
()
Ответ на: комментарий от Avial

Потрясающе. Я и раньше пробовал собирать, такая же проблема возникала.

Deleted
()

У меня в /etc/profile

export MAKEOPTS=-j3
export MAKEFLAGS=-j3
export GNUMAKEFLAGS=-j3
Убрал - заработало. Видимо вывод парсился там как то... Кхм, и что делать что бы такого не повторялось и при этом все быстро собиралось?

Deleted
()

Так, новые траблы... Alpine...

make[3]: выход из каталога «/tmp/alpine-2.21/pico/osdep»
make[3]: вход в каталог «/tmp/alpine-2.21/pico»
gcc -DHAVE_CONFIG_H   -I../include -I/usr/include  -pthread -O2 -fPIC -MT attach.o -MD -MP -MF .deps/attach.Tpo -c -o attach.o attach.c
mv -f .deps/attach.Tpo .deps/attach.Po
gcc -DHAVE_CONFIG_H   -I../include -I/usr/include  -pthread -O2 -fPIC -MT basic.o -MD -MP -MF .deps/basic.Tpo -c -o basic.o basic.c
mv -f .deps/basic.Tpo .deps/basic.Po
gcc -DHAVE_CONFIG_H   -I../include -I/usr/include  -pthread -O2 -fPIC -MT bind.o -MD -MP -MF .deps/bind.Tpo -c -o bind.o bind.c
mv -f .deps/bind.Tpo .deps/bind.Po
gcc -DHAVE_CONFIG_H   -I../include -I/usr/include  -pthread -O2 -fPIC -MT browse.o -MD -MP -MF .deps/browse.Tpo -c -o browse.o browse.c
mv -f .deps/browse.Tpo .deps/browse.Po
gcc -DHAVE_CONFIG_H   -I../include -I/usr/include  -pthread -O2 -fPIC -MT buffer.o -MD -MP -MF .deps/buffer.Tpo -c -o buffer.o buffer.c
mv -f .deps/buffer.Tpo .deps/buffer.Po
gcc -DHAVE_CONFIG_H   -I../include -I/usr/include  -pthread -O2 -fPIC -MT composer.o -MD -MP -MF .deps/composer.Tpo -c -o composer.o composer.c
mv -f .deps/composer.Tpo .deps/composer.Po
gcc -DHAVE_CONFIG_H   -I../include -I/usr/include  -pthread -O2 -fPIC -MT display.o -MD -MP -MF .deps/display.Tpo -c -o display.o display.c
mv -f .deps/display.Tpo .deps/display.Po
gcc -DHAVE_CONFIG_H   -I../include -I/usr/include  -pthread -O2 -fPIC -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o file.c
mv -f .deps/file.Tpo .deps/file.Po
gcc -DHAVE_CONFIG_H   -I../include -I/usr/include  -pthread -O2 -fPIC -MT fileio.o -MD -MP -MF .deps/fileio.Tpo -c -o fileio.o fileio.c
mv -f .deps/fileio.Tpo .deps/fileio.Po
gcc -DHAVE_CONFIG_H   -I../include -I/usr/include  -pthread -O2 -fPIC -MT line.o -MD -MP -MF .deps/line.Tpo -c -o line.o line.c
mv -f .deps/line.Tpo .deps/line.Po
gcc -DHAVE_CONFIG_H   -I../include -I/usr/include  -pthread -O2 -fPIC -MT pico.o -MD -MP -MF .deps/pico.Tpo -c -o pico.o pico.c
mv -f .deps/pico.Tpo .deps/pico.Po
gcc -DHAVE_CONFIG_H   -I../include -I/usr/include  -pthread -O2 -fPIC -MT random.o -MD -MP -MF .deps/random.Tpo -c -o random.o random.c
mv -f .deps/random.Tpo .deps/random.Po
gcc -DHAVE_CONFIG_H   -I../include -I/usr/include  -pthread -O2 -fPIC -MT region.o -MD -MP -MF .deps/region.Tpo -c -o region.o region.c
mv -f .deps/region.Tpo .deps/region.Po
gcc -DHAVE_CONFIG_H   -I../include -I/usr/include  -pthread -O2 -fPIC -MT search.o -MD -MP -MF .deps/search.Tpo -c -o search.o search.c
mv -f .deps/search.Tpo .deps/search.Po
gcc -DHAVE_CONFIG_H   -I../include -I/usr/include  -pthread -O2 -fPIC -MT window.o -MD -MP -MF .deps/window.Tpo -c -o window.o window.c
mv -f .deps/window.Tpo .deps/window.Po
gcc -DHAVE_CONFIG_H   -I../include -I/usr/include  -pthread -O2 -fPIC -MT word.o -MD -MP -MF .deps/word.Tpo -c -o word.o word.c
mv -f .deps/word.Tpo .deps/word.Po
rm -f libpico.a
/usr/bin/ar cru libpico.a attach.o basic.o bind.o browse.o buffer.o composer.o display.o file.o fileio.o line.o pico.o random.o region.o search.o window.o word.o 
ranlib libpico.a
gcc -DHAVE_CONFIG_H   -I../include -I/usr/include  -pthread -O2 -fPIC -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
gcc -DHAVE_CONFIG_H   -I../include -I/usr/include  -pthread -O2 -fPIC -MT utf8stub.o -MD -MP -MF .deps/utf8stub.Tpo -c -o utf8stub.o utf8stub.c
mv -f .deps/utf8stub.Tpo .deps/utf8stub.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc -pthread -O2 -fPIC  -L/usr/lib  -o pico main.o utf8stub.o ../c-client/utf8.o libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a  -lldap -lssl -lcrypto -ldl  -lncurses -llber
libtool: link: gcc -pthread -O2 -fPIC -o pico main.o utf8stub.o ../c-client/utf8.o  -L/usr/lib libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a /usr/lib/libldap.so /usr/lib/libsasl2.so -lssl -lcrypto -ldl -lncurses /usr/lib/liblber.so -lresolv -pthread
/usr/lib/libldap.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
Makefile:528: ошибка выполнения рецепта для цели «pico»
make[3]: *** [pico] Ошибка 1
make[3]: выход из каталога «/tmp/alpine-2.21/pico»
Makefile:595: ошибка выполнения рецепта для цели «all-recursive»
make[2]: *** [all-recursive] Ошибка 1
make[2]: выход из каталога «/tmp/alpine-2.21/pico»
Makefile:540: ошибка выполнения рецепта для цели «all-recursive»
make[1]: *** [all-recursive] Ошибка 1
make[1]: выход из каталога «/tmp/alpine-2.21»
Makefile:429: ошибка выполнения рецепта для цели «all»
make: *** [all] Ошибка 2

Deleted
()

Удалил multilib либу, собралось... Теперь уже PHP собирается, кажись все. Фух. Какая же эта alpine проблемная!

Deleted
()
Ответ на: комментарий от Deleted

Мультилиб сыграл злую шутку — линкер полез за .so-шками в /usr/lib вместо /usr/lib64.
Либо собирать без мультилиба, либо наставлять линкер на путь истинный, дописывая руками в слакбилды LD_FLAGS с путями...

bormant ★★★★★
()
Ответ на: комментарий от theNamelessOne

А ведь в слакбилде было!

# We don't use this (-j) below as it breaks the build.

Deleted
()
Ответ на: комментарий от hateyoufeel

Он и так стоит, хотелось по нормальному собрать.

Deleted
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.