Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
php-8.1 fails to configure
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Nreal
Apprentice
Apprentice


Joined: 06 Jan 2009
Posts: 268

PostPosted: Sat Jan 06, 2024 9:41 am    Post subject: php-8.1 fails to configure Reply with quote

Something wrong with my USE settings, but what it is?

Code:
checking for shm_open in -lroot... no
checking for __shm_open in -lroot... no
checking for mmap() using shm_open() shared memory support... no
configure: error: No supported shared memory caching support was found when configuring opcache. Check config.log for any errors or missing dependencies.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-lang/php-8.1.26/work/sapis-build/cli/config.log
 * ERROR: dev-lang/php-8.1.26::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  136:  Called src_configure
 *             environment, line 2510:  Called econf '--prefix=/usr/lib64/php8.1' '--mandir=/usr/lib64/php8.1/man' '--infodir=/usr/lib64/php8.1/info' '--libdir=/usr/lib64/php8.1/lib' '--with-libdir=lib64' '--localstatedir=/var' '--without-pear' '--without-valgrind' '--enable-zts' '--without-fpm-apparmor' '--without-password-argon2' '--with-avif' '--enable-bcmath' '--with-bz2=/usr' '--enable-calendar' '--disable-gcov' '--enable-ctype' '--with-curl' '--enable-dom' '--with-enchant' '--enable-exif' '--with-ffi' '--enable-fileinfo' '--enable-filter' '--enable-ftp' '--with-gettext=/usr' '--with-gmp=/usr' '--with-mhash=/usr' '--with-iconv' '--enable-intl' '--enable-ipv6' '--without-kerberos' '--with-libxml' '--enable-mbstring' '--with-openssl' '--enable-pcntl' '--enable-phar' '--enable-pdo' '--enable-opcache' '--with-pgsql=/usr' '--enable-posix' '--with-pspell=/usr' '--enable-simplexml' '--enable-shmop' '--with-snmp=/usr' '--enable-soap' '--enable-sockets' '--with-sodium' '--with-sqlite3' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--with-tidy=/usr' '--enable-tokenizer' '--enable-xml' '--enable-xmlreader' '--enable-xmlwriter' '--with-xsl' '--with-zip' '--with-zlib=/usr' '--disable-debug' '--enable-dba' '--with-cdb' '--with-db4=/usr' '--enable-flatfile' '--with-gdbm=/usr' '--enable-inifile' '--without-qdbm' '--with-tcadb=/usr' '--with-lmdb=/usr' '--with-freetype' '--enable-gd-jis-conv' '--with-jpeg' '--with-xpm' '--with-webp' '--enable-gd' '--with-imap=/usr' '--with-imap-ssl=/usr' '--with-mysqli=mysqlnd' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--without-unixODBC' '--with-iodbc' '--with-pdo-odbc=iODBC,/usr' '--with-oci8' '--with-pdo-dblib=/usr' '--with-pdo-mysql=mysqlnd' '--with-pdo-pgsql' '--with-pdo-sqlite' '--without-pdo-firebird' '--with-pdo-oci' '--with-readline=/usr' '--without-libedit' '--without-mm' '--with-pic' '--with-external-pcre' '--with-pcre-jit' '--cache-file=/var/tmp/portage/dev-lang/php-8.1.26/temp/config.cache' '--with-config-file-path=/etc/php/cli-php8.1' '--with-config-file-scan-dir=/etc/php/cli-php8.1/ext-active' '--disable-embed' '--enable-cli' '--disable-cgi' '--disable-fpm' '--without-apxs2' '--disable-phpdbg'
 *        phase-helpers.sh, line  732:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *         die "$@"
 *
 * If you need support, post the output of `emerge --info '=dev-lang/php-8.1.26::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/php-8.1.26::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/php-8.1.26/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/php-8.1.26/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/php-8.1.26/work/sapis-build/cli'
 * S: '/var/tmp/portage/dev-lang/php-8.1.26/work/php-8.1.26'

>>> Failed to emerge dev-lang/php-8.1.26, Log file:

Code:
[ebuild     U  ] dev-lang/php-8.1.26:8.1::gentoo [8.1.20-r1:8.1::gentoo] USE="acl apache2 avif bcmath berkdb bzip2 calendar cdb cgi cjk cli ctype curl enchant exif ffi fileinfo filter flatfile fpm ftp gd gdbm gmp iconv imap inifile intl iodbc ipv6 jit lmdb mhash mssql mysql mysqli nls oci8-instant-client odbc opcache pcntl pdo phar phpdbg posix postgres readline session sharedmem simplexml snmp soap sockets sodium spell sqlite ssl sysvipc test threads tidy tokenizer tokyocabinet truetype unicode webp xml xmlreader xmlwriter xpm xslt zip zlib -apparmor -argon2 (-coverage) -debug -embed (-firebird) -kerberos -ldap -ldap-sasl -libedit -qdbm (-selinux) -session-mm -systemd" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]


Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=skylake -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"

#COMMON_FLAGS="-O2 -pipe -march=native"
#CFLAGS="${COMMON_FLAGS}"
#CXXFLAGS="${COMMON_FLAGS}"
#FCFLAGS="${COMMON_FLAGS}"
#FFLAGS="${COMMON_FLAGS}"

# NOTE: This stage was built with the bindist Use flag enabled

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C.utf8

#MAKEOPTS="-j1"

USE="intel wifi mate caja firefox brave vlc handbrake opus x264 x265 mp3 mp4 ogg oss alsa php apache bzip2 \
   jpg png raw tiff waydroid spyder scanner usb intel X nvidia webkit xine xpm zip zlib cron \
   qrcode usb dvd blueray lvm grub fdk gstreamer gtk libav-aac numa geolocation opencl  \
   addressbook imagemagick lensfun marble panorama   imagemagick swig corefonts opencl freeimage  \
   color-management mypaint-brush-engine qtmedia ocr bluetooth extras themes base minizip \
   cddb cdr dvd cgi cdda cgrypt dri dts dvdr fastcgi flac ftp gif gimp ffmpeg inspector postproc \
   git gnuplot gphoto2 gpm gps graphviz gstreamer icu jack java javascript jpeg jpeg2 lm-sensors \
   lzip lzma lzo mad matroska mms mng mono mpeg mplayer mtp musicbrainz mysqli networkmanager \
   nvenc odbc openal opengl oss pdf perl postscript ppds pulseaudio python qt5 qt6 rdp rss sdl \
   sockets sound ssl szip threads truetype udev unicode vhosts vorbis vulkan wavpack wayland \
   kernel-install wxwidgets rustfmt custom-modes dist-kernel mount gles2 video_cards_intel vpx \
   access_compat asis auth_digest auth_form authn_dbd authn_socache authz_dbd brotli cache_disk \
   cache_socache cern_meta charset_lite dbd dumpio ident imagemap discid fingerprints declarative \
   cups hplip jpeg2k animation-rtl graphite lame http streamtuner cue theora bluray twolame \
   abi_x86_32 haptic egl qml mysql fileinfo wallpapers grimshot tray geoip \
   nls extra zstd xvfb webp positioning xwayland server tcl mmap\
   "

CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3"


package.use:
Code:
dev-lang/php   opcache cli apache2 avif bcmath berkdb calendar cdb cjk (-coverage) curl enchant exif ffi (-firebird) fpm gd gmp imap inifile intl iodbc lmdb mhash mssql mysql oci8-instant-client pcntl pdo phpdbg postgres (-selinux) sharedmem snmp soap sodium sqlite -systemd sysvipc test tidy tokyocabinet webp xmlreader xmlwriter xslt
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1721

PostPosted: Sat Jan 06, 2024 10:29 am    Post subject: Reply with quote

Please share /var/tmp/portage/dev-lang/php-8.1.26/work/sapis-build/cli/config.log.
Back to top
View user's profile Send private message
Nreal
Apprentice
Apprentice


Joined: 06 Jan 2009
Posts: 268

PostPosted: Sat Jan 06, 2024 10:59 am    Post subject: Reply with quote

sam_ wrote:
Please share /var/tmp/portage/dev-lang/php-8.1.26/work/sapis-build/cli/config.log.


https://unblock-this.com/config.log
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1721

PostPosted: Sat Jan 06, 2024 11:11 am    Post subject: Reply with quote

Code:


configure:56224: result: no
configure:56291: checking for mmap() using shm_open() shared memory support
configure:56364: x86_64-pc-linux-gnu-cc -o conftest -march=skylake -O2 -pipe -fvisibility=hidden -pthread  -D_REENTRANT -I/usr/include/imap -Wl,-O1 -Wl,--as-needed -Wl,-rpath,/usr/lib64/oracle/client/lib -L/usr/lib64/oracle/client/lib conftest.c -lstdc++ -lcrypt -lpam -lgmp -ldb-5.3 -llmdb -ltokyocabinet -lgdbm -lbz2 -lrt -lm  -lpthread -lxml2 -lssl -lcrypto -lpcre2-8 -lsqlite3 -lz -lcurl -lssl -lcrypto -lxml2 -lenchant-2 -lffi -lssl -lcrypto -lz -lpng16 -lavif -lwebp -ljpeg -lXpm -lX11 -lfreetype -lssl -lcrypto -licuio -licui18n -licuuc -licudata -lonig -lclntsh -liodbc -liodbcinst -ldl >&5
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: skipping incompatible /usr/lib64/oracle/client/lib/libclntsh.so when searching for -lclntsh
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: cannot find -lclntsh: No such file or directory
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: skipping incompatible /usr/lib64/oracle/client/lib/libclntsh.so when searching for -lclntsh
collect2: error: ld returned 1 exit status
configure:56364: $? = 1
configure: program exited with status 1


That is an awful lot of junk in there. Please share emerge --info and the full build.log.
Back to top
View user's profile Send private message
Nreal
Apprentice
Apprentice


Joined: 06 Jan 2009
Posts: 268

PostPosted: Sat Jan 06, 2024 11:31 am    Post subject: Reply with quote

sam_ wrote:
Code:


configure:56224: result: no
configure:56291: checking for mmap() using shm_open() shared memory support
configure:56364: x86_64-pc-linux-gnu-cc -o conftest -march=skylake -O2 -pipe -fvisibility=hidden -pthread  -D_REENTRANT -I/usr/include/imap -Wl,-O1 -Wl,--as-needed -Wl,-rpath,/usr/lib64/oracle/client/lib -L/usr/lib64/oracle/client/lib conftest.c -lstdc++ -lcrypt -lpam -lgmp -ldb-5.3 -llmdb -ltokyocabinet -lgdbm -lbz2 -lrt -lm  -lpthread -lxml2 -lssl -lcrypto -lpcre2-8 -lsqlite3 -lz -lcurl -lssl -lcrypto -lxml2 -lenchant-2 -lffi -lssl -lcrypto -lz -lpng16 -lavif -lwebp -ljpeg -lXpm -lX11 -lfreetype -lssl -lcrypto -licuio -licui18n -licuuc -licudata -lonig -lclntsh -liodbc -liodbcinst -ldl >&5
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: skipping incompatible /usr/lib64/oracle/client/lib/libclntsh.so when searching for -lclntsh
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: cannot find -lclntsh: No such file or directory
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: skipping incompatible /usr/lib64/oracle/client/lib/libclntsh.so when searching for -lclntsh
collect2: error: ld returned 1 exit status
configure:56364: $? = 1
configure: program exited with status 1


That is an awful lot of junk in there. Please share emerge --info and the full build.log.


Code:
Portage 3.0.59 (python 3.11.7-final-0, default/linux/amd64/17.1/desktop, gcc-13, glibc-2.37-r7, 6.1.67-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.1.67-gentoo-dist-x86_64-Intel-R-_Core-TM-_i7-8700_CPU_@_3.20GHz-with-glibc2.37
KiB Mem:    32801284 total,   1292464 free
KiB Swap:   16383996 total,  16315836 free
Timestamp of repository gentoo: Sat, 06 Jan 2024 08:30:02 +0000
Head commit of repository gentoo: 7d7e14a04b5f885578676e5d58e30a14628e6d38
Head commit of repository brave-overlay: b7874f964904ea054cf36dbd7e956af7cce3867d

Timestamp of repository guru: Fri, 05 Jan 2024 20:35:33 +0000
Head commit of repository guru: 6bf6356ec93a51c8447d8b7d4fc77683742fd844

Timestamp of repository vmacs: Tue, 26 Dec 2023 14:18:00 +0000
Head commit of repository vmacs: b76bd895c2af27594c26edc07b193db71c8ab7da

sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.41 p2) 2.41.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.11.7::gentoo, 3.12.1::gentoo
dev-lang/rust-bin:         1.71.1::gentoo
dev-util/cmake:            3.27.9::gentoo
dev-util/meson:            1.3.0-r2::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/openrc:           0.48::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::gentoo
sys-devel/gcc:             13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/llvm:            16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 3

brave-overlay
    location: /var/db/repos/brave-overlay
    sync-type: git
    sync-uri: https://gitlab.com/jason.oliveira/brave-overlay.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

vmacs
    location: /var/db/repos/vmacs
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/vmacs.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=skylake -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.agdsn.de/gentoo     https://ftp.agdsn.de/gentoo     rsync://ftp.agdsn.de/gentoo     https://mirror.yandex.ru/gentoo-distfiles/     http://mirror.yandex.ru/gentoo-distfiles/     ftp://mirror.yandex.ru/gentoo-distfiles/     https://ftp.lysator.liu.se/gentoo/"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="fi en"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac access_compat acl acpi addressbook alsa amd64 animation-rtl apache asis auth_digest auth_form authn_dbd authn_socache authz_dbd base blueray bluetooth bluray branding brave brotli bzip2 cache_disk cache_socache cairo caja cdda cddb cdr cern_meta cgi cgrypt charset_lite cli color-management corefonts cron crypt cue cups custom-modes dbd dbus declarative discid dist-kernel dri dts dumpio dvd dvdr egl elogind encode exif extra extras fastcgi fdk ffmpeg fileinfo fingerprints firefox flac fortran freeimage ftp gdbm geoip geolocation gif gimp git gles2 gnuplot gphoto2 gpm gps graphite graphviz grimshot grub gstreamer gtk gui handbrake haptic hplip http iconv icu ident imagemagick imagemap inspector intel ipv6 jack java javascript jpeg jpeg2 jpeg2k jpg kernel-install lame lcms lensfun libav-aac libnotify libtirpc lm-sensors lvm lzip lzma lzo mad marble mate matroska minizip mmap mms mng mono mount mp3 mp4 mpeg mplayer mtp multilib musicbrainz mypaint-brush-engine mysql mysqli ncurses networkmanager nls nptl numa nvenc nvidia ocr odbc ogg openal opencl opengl openmp opus oss pam pango panorama pcre pdf perl php png policykit positioning postproc postscript ppds pulseaudio python qml qrcode qt5 qt6 qtmedia raw rdp readline rss rustfmt scanner sdl seccomp server sockets sound spell split-usr spyder ssl startup-notification streamtuner svg swig szip tcl test-rust themes theora threads tiff tray truetype twolame udev udisks unicode upower usb vhosts vlc vorbis vpx vulkan wallpapers wavpack waydroid wayland webkit webp wifi wxwidgets x264 x265 xattr xcb xft xine xml xpm xv xvfb xvid xwayland zip zlib zstd" ABI_X86="64 32" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy proxy_http proxy_http2 rewrite" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput synaptics evdev joystick" KERNEL="linux" L10N="fi en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="i915 intel nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Back to top
View user's profile Send private message
0x006e
n00b
n00b


Joined: 02 Aug 2023
Posts: 33

PostPosted: Sat Jan 06, 2024 11:32 am    Post subject: Re: php-8.1 fails to configure Reply with quote

Nreal wrote:
Something wrong with my USE settings, but what it is?

Code:
checking for shm_open in -lroot... no
checking for __shm_open in -lroot... no
checking for mmap() using shm_open() shared memory support... no
configure: error: No supported shared memory caching support was found when configuring opcache. Check config.log for any errors or missing dependencies.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-lang/php-8.1.26/work/sapis-build/cli/config.log
 * ERROR: dev-lang/php-8.1.26::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  136:  Called src_configure
 *             environment, line 2510:  Called econf '--prefix=/usr/lib64/php8.1' '--mandir=/usr/lib64/php8.1/man' '--infodir=/usr/lib64/php8.1/info' '--libdir=/usr/lib64/php8.1/lib' '--with-libdir=lib64' '--localstatedir=/var' '--without-pear' '--without-valgrind' '--enable-zts' '--without-fpm-apparmor' '--without-password-argon2' '--with-avif' '--enable-bcmath' '--with-bz2=/usr' '--enable-calendar' '--disable-gcov' '--enable-ctype' '--with-curl' '--enable-dom' '--with-enchant' '--enable-exif' '--with-ffi' '--enable-fileinfo' '--enable-filter' '--enable-ftp' '--with-gettext=/usr' '--with-gmp=/usr' '--with-mhash=/usr' '--with-iconv' '--enable-intl' '--enable-ipv6' '--without-kerberos' '--with-libxml' '--enable-mbstring' '--with-openssl' '--enable-pcntl' '--enable-phar' '--enable-pdo' '--enable-opcache' '--with-pgsql=/usr' '--enable-posix' '--with-pspell=/usr' '--enable-simplexml' '--enable-shmop' '--with-snmp=/usr' '--enable-soap' '--enable-sockets' '--with-sodium' '--with-sqlite3' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--with-tidy=/usr' '--enable-tokenizer' '--enable-xml' '--enable-xmlreader' '--enable-xmlwriter' '--with-xsl' '--with-zip' '--with-zlib=/usr' '--disable-debug' '--enable-dba' '--with-cdb' '--with-db4=/usr' '--enable-flatfile' '--with-gdbm=/usr' '--enable-inifile' '--without-qdbm' '--with-tcadb=/usr' '--with-lmdb=/usr' '--with-freetype' '--enable-gd-jis-conv' '--with-jpeg' '--with-xpm' '--with-webp' '--enable-gd' '--with-imap=/usr' '--with-imap-ssl=/usr' '--with-mysqli=mysqlnd' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--without-unixODBC' '--with-iodbc' '--with-pdo-odbc=iODBC,/usr' '--with-oci8' '--with-pdo-dblib=/usr' '--with-pdo-mysql=mysqlnd' '--with-pdo-pgsql' '--with-pdo-sqlite' '--without-pdo-firebird' '--with-pdo-oci' '--with-readline=/usr' '--without-libedit' '--without-mm' '--with-pic' '--with-external-pcre' '--with-pcre-jit' '--cache-file=/var/tmp/portage/dev-lang/php-8.1.26/temp/config.cache' '--with-config-file-path=/etc/php/cli-php8.1' '--with-config-file-scan-dir=/etc/php/cli-php8.1/ext-active' '--disable-embed' '--enable-cli' '--disable-cgi' '--disable-fpm' '--without-apxs2' '--disable-phpdbg'
 *        phase-helpers.sh, line  732:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *         die "$@"
 *
 * If you need support, post the output of `emerge --info '=dev-lang/php-8.1.26::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/php-8.1.26::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/php-8.1.26/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/php-8.1.26/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/php-8.1.26/work/sapis-build/cli'
 * S: '/var/tmp/portage/dev-lang/php-8.1.26/work/php-8.1.26'

>>> Failed to emerge dev-lang/php-8.1.26, Log file:

Code:
[ebuild     U  ] dev-lang/php-8.1.26:8.1::gentoo [8.1.20-r1:8.1::gentoo] USE="acl apache2 avif bcmath berkdb bzip2 calendar cdb cgi cjk cli ctype curl enchant exif ffi fileinfo filter flatfile fpm ftp gd gdbm gmp iconv imap inifile intl iodbc ipv6 jit lmdb mhash mssql mysql mysqli nls oci8-instant-client odbc opcache pcntl pdo phar phpdbg posix postgres readline session sharedmem simplexml snmp soap sockets sodium spell sqlite ssl sysvipc test threads tidy tokenizer tokyocabinet truetype unicode webp xml xmlreader xmlwriter xpm xslt zip zlib -apparmor -argon2 (-coverage) -debug -embed (-firebird) -kerberos -ldap -ldap-sasl -libedit -qdbm (-selinux) -session-mm -systemd" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]


Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=skylake -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"

#COMMON_FLAGS="-O2 -pipe -march=native"
#CFLAGS="${COMMON_FLAGS}"
#CXXFLAGS="${COMMON_FLAGS}"
#FCFLAGS="${COMMON_FLAGS}"
#FFLAGS="${COMMON_FLAGS}"

# NOTE: This stage was built with the bindist Use flag enabled

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C.utf8

#MAKEOPTS="-j1"

USE="intel wifi mate caja firefox brave vlc handbrake opus x264 x265 mp3 mp4 ogg oss alsa php apache bzip2 \
   jpg png raw tiff waydroid spyder scanner usb intel X nvidia webkit xine xpm zip zlib cron \
   qrcode usb dvd blueray lvm grub fdk gstreamer gtk libav-aac numa geolocation opencl  \
   addressbook imagemagick lensfun marble panorama   imagemagick swig corefonts opencl freeimage  \
   color-management mypaint-brush-engine qtmedia ocr bluetooth extras themes base minizip \
   cddb cdr dvd cgi cdda cgrypt dri dts dvdr fastcgi flac ftp gif gimp ffmpeg inspector postproc \
   git gnuplot gphoto2 gpm gps graphviz gstreamer icu jack java javascript jpeg jpeg2 lm-sensors \
   lzip lzma lzo mad matroska mms mng mono mpeg mplayer mtp musicbrainz mysqli networkmanager \
   nvenc odbc openal opengl oss pdf perl postscript ppds pulseaudio python qt5 qt6 rdp rss sdl \
   sockets sound ssl szip threads truetype udev unicode vhosts vorbis vulkan wavpack wayland \
   kernel-install wxwidgets rustfmt custom-modes dist-kernel mount gles2 video_cards_intel vpx \
   access_compat asis auth_digest auth_form authn_dbd authn_socache authz_dbd brotli cache_disk \
   cache_socache cern_meta charset_lite dbd dumpio ident imagemap discid fingerprints declarative \
   cups hplip jpeg2k animation-rtl graphite lame http streamtuner cue theora bluray twolame \
   abi_x86_32 haptic egl qml mysql fileinfo wallpapers grimshot tray geoip \
   nls extra zstd xvfb webp positioning xwayland server tcl mmap\
   "

CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3"


package.use:
Code:
dev-lang/php   opcache cli apache2 avif bcmath berkdb calendar cdb cjk (-coverage) curl enchant exif ffi (-firebird) fpm gd gmp imap inifile intl iodbc lmdb mhash mssql mysql oci8-instant-client pcntl pdo phpdbg postgres (-selinux) sharedmem snmp soap sodium sqlite -systemd sysvipc test tidy tokyocabinet webp xmlreader xmlwriter xslt


The configure seems to be failing due to missing shared memory support?. I have no idea which USE flag is needed to support this. Maybe it will build by disabling the sharedmem USE flag on php. Is there any particular reason, you have enabled that flag?
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1721

PostPosted: Sat Jan 06, 2024 11:47 am    Post subject: Reply with quote

The configure test for shm is failing because of the Oracle stuff. Try USE="-oci8-instant-client"?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31019
Location: here

PostPosted: Sat Jan 06, 2024 11:49 am    Post subject: Reply with quote

What version of dev-db/oracle-instantclient do you have installed?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Nreal
Apprentice
Apprentice


Joined: 06 Jan 2009
Posts: 268

PostPosted: Sat Jan 06, 2024 3:48 pm    Post subject: Reply with quote

fedeliallalinea wrote:
What version of dev-db/oracle-instantclient do you have installed?


Code:
dev-db/oracle-instantclient
      Latest version available: 21.3.0.0.0
      Latest version installed: 21.3.0.0.0
      Size of files: 153930 KiB
      Homepage:      https://www.oracle.com/database/technologies/instant-client.html
      Description:   Oracle 18c Instant Client with SDK
      License:       OTN
Back to top
View user's profile Send private message
Nreal
Apprentice
Apprentice


Joined: 06 Jan 2009
Posts: 268

PostPosted: Sat Jan 06, 2024 3:53 pm    Post subject: Re: php-8.1 fails to configure Reply with quote

0x006e wrote:
Nreal wrote:
Something wrong with my USE settings, but what it is?

Code:
checking for shm_open in -lroot... no
checking for __shm_open in -lroot... no
checking for mmap() using shm_open() shared memory support... no
configure: error: No supported shared memory caching support was found when configuring opcache. Check config.log for any errors or missing dependencies.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-lang/php-8.1.26/work/sapis-build/cli/config.log
 * ERROR: dev-lang/php-8.1.26::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  136:  Called src_configure
 *             environment, line 2510:  Called econf '--prefix=/usr/lib64/php8.1' '--mandir=/usr/lib64/php8.1/man' '--infodir=/usr/lib64/php8.1/info' '--libdir=/usr/lib64/php8.1/lib' '--with-libdir=lib64' '--localstatedir=/var' '--without-pear' '--without-valgrind' '--enable-zts' '--without-fpm-apparmor' '--without-password-argon2' '--with-avif' '--enable-bcmath' '--with-bz2=/usr' '--enable-calendar' '--disable-gcov' '--enable-ctype' '--with-curl' '--enable-dom' '--with-enchant' '--enable-exif' '--with-ffi' '--enable-fileinfo' '--enable-filter' '--enable-ftp' '--with-gettext=/usr' '--with-gmp=/usr' '--with-mhash=/usr' '--with-iconv' '--enable-intl' '--enable-ipv6' '--without-kerberos' '--with-libxml' '--enable-mbstring' '--with-openssl' '--enable-pcntl' '--enable-phar' '--enable-pdo' '--enable-opcache' '--with-pgsql=/usr' '--enable-posix' '--with-pspell=/usr' '--enable-simplexml' '--enable-shmop' '--with-snmp=/usr' '--enable-soap' '--enable-sockets' '--with-sodium' '--with-sqlite3' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--with-tidy=/usr' '--enable-tokenizer' '--enable-xml' '--enable-xmlreader' '--enable-xmlwriter' '--with-xsl' '--with-zip' '--with-zlib=/usr' '--disable-debug' '--enable-dba' '--with-cdb' '--with-db4=/usr' '--enable-flatfile' '--with-gdbm=/usr' '--enable-inifile' '--without-qdbm' '--with-tcadb=/usr' '--with-lmdb=/usr' '--with-freetype' '--enable-gd-jis-conv' '--with-jpeg' '--with-xpm' '--with-webp' '--enable-gd' '--with-imap=/usr' '--with-imap-ssl=/usr' '--with-mysqli=mysqlnd' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--without-unixODBC' '--with-iodbc' '--with-pdo-odbc=iODBC,/usr' '--with-oci8' '--with-pdo-dblib=/usr' '--with-pdo-mysql=mysqlnd' '--with-pdo-pgsql' '--with-pdo-sqlite' '--without-pdo-firebird' '--with-pdo-oci' '--with-readline=/usr' '--without-libedit' '--without-mm' '--with-pic' '--with-external-pcre' '--with-pcre-jit' '--cache-file=/var/tmp/portage/dev-lang/php-8.1.26/temp/config.cache' '--with-config-file-path=/etc/php/cli-php8.1' '--with-config-file-scan-dir=/etc/php/cli-php8.1/ext-active' '--disable-embed' '--enable-cli' '--disable-cgi' '--disable-fpm' '--without-apxs2' '--disable-phpdbg'
 *        phase-helpers.sh, line  732:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *         die "$@"
 *
 * If you need support, post the output of `emerge --info '=dev-lang/php-8.1.26::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/php-8.1.26::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/php-8.1.26/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/php-8.1.26/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/php-8.1.26/work/sapis-build/cli'
 * S: '/var/tmp/portage/dev-lang/php-8.1.26/work/php-8.1.26'

>>> Failed to emerge dev-lang/php-8.1.26, Log file:

Code:
[ebuild     U  ] dev-lang/php-8.1.26:8.1::gentoo [8.1.20-r1:8.1::gentoo] USE="acl apache2 avif bcmath berkdb bzip2 calendar cdb cgi cjk cli ctype curl enchant exif ffi fileinfo filter flatfile fpm ftp gd gdbm gmp iconv imap inifile intl iodbc ipv6 jit lmdb mhash mssql mysql mysqli nls oci8-instant-client odbc opcache pcntl pdo phar phpdbg posix postgres readline session sharedmem simplexml snmp soap sockets sodium spell sqlite ssl sysvipc test threads tidy tokenizer tokyocabinet truetype unicode webp xml xmlreader xmlwriter xpm xslt zip zlib -apparmor -argon2 (-coverage) -debug -embed (-firebird) -kerberos -ldap -ldap-sasl -libedit -qdbm (-selinux) -session-mm -systemd" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]


Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=skylake -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"

#COMMON_FLAGS="-O2 -pipe -march=native"
#CFLAGS="${COMMON_FLAGS}"
#CXXFLAGS="${COMMON_FLAGS}"
#FCFLAGS="${COMMON_FLAGS}"
#FFLAGS="${COMMON_FLAGS}"

# NOTE: This stage was built with the bindist Use flag enabled

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C.utf8

#MAKEOPTS="-j1"

USE="intel wifi mate caja firefox brave vlc handbrake opus x264 x265 mp3 mp4 ogg oss alsa php apache bzip2 \
   jpg png raw tiff waydroid spyder scanner usb intel X nvidia webkit xine xpm zip zlib cron \
   qrcode usb dvd blueray lvm grub fdk gstreamer gtk libav-aac numa geolocation opencl  \
   addressbook imagemagick lensfun marble panorama   imagemagick swig corefonts opencl freeimage  \
   color-management mypaint-brush-engine qtmedia ocr bluetooth extras themes base minizip \
   cddb cdr dvd cgi cdda cgrypt dri dts dvdr fastcgi flac ftp gif gimp ffmpeg inspector postproc \
   git gnuplot gphoto2 gpm gps graphviz gstreamer icu jack java javascript jpeg jpeg2 lm-sensors \
   lzip lzma lzo mad matroska mms mng mono mpeg mplayer mtp musicbrainz mysqli networkmanager \
   nvenc odbc openal opengl oss pdf perl postscript ppds pulseaudio python qt5 qt6 rdp rss sdl \
   sockets sound ssl szip threads truetype udev unicode vhosts vorbis vulkan wavpack wayland \
   kernel-install wxwidgets rustfmt custom-modes dist-kernel mount gles2 video_cards_intel vpx \
   access_compat asis auth_digest auth_form authn_dbd authn_socache authz_dbd brotli cache_disk \
   cache_socache cern_meta charset_lite dbd dumpio ident imagemap discid fingerprints declarative \
   cups hplip jpeg2k animation-rtl graphite lame http streamtuner cue theora bluray twolame \
   abi_x86_32 haptic egl qml mysql fileinfo wallpapers grimshot tray geoip \
   nls extra zstd xvfb webp positioning xwayland server tcl mmap\
   "

CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3"


package.use:
Code:
dev-lang/php   opcache cli apache2 avif bcmath berkdb calendar cdb cjk (-coverage) curl enchant exif ffi (-firebird) fpm gd gmp imap inifile intl iodbc lmdb mhash mssql mysql oci8-instant-client pcntl pdo phpdbg postgres (-selinux) sharedmem snmp soap sodium sqlite -systemd sysvipc test tidy tokyocabinet webp xmlreader xmlwriter xslt


The configure seems to be failing due to missing shared memory support?. I have no idea which USE flag is needed to support this. Maybe it will build by disabling the sharedmem USE flag on php. Is there any particular reason, you have enabled that flag?


It did not build without sharedmem either.
Back to top
View user's profile Send private message
Nreal
Apprentice
Apprentice


Joined: 06 Jan 2009
Posts: 268

PostPosted: Sat Jan 06, 2024 7:29 pm    Post subject: Reply with quote

This seems to be the reason oci8-instant-client. With this -oci8-instant-client it builds just fine.
Back to top
View user's profile Send private message
Nreal
Apprentice
Apprentice


Joined: 06 Jan 2009
Posts: 268

PostPosted: Sun Jan 07, 2024 8:13 am    Post subject: Reply with quote

I hope someone could point me what is wrong with oci8-instant-client as it is needed and now nothing works nad cant compile again to get it working again.
It does not compile with php v 8,3 either.
Code:

checking for mmap() using shm_open() shared memory support... no
configure: error: No supported shared memory caching support was found when configuring opcache. Check config.log for any errors or missing dependencies.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-lang/php-8.3.0-r1/work/sapis-build/cli/config.log
 * ERROR: dev-lang/php-8.3.0-r1::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  136:  Called src_configure
 *             environment, line 2519:  Called econf '--prefix=/usr/lib64/php8.3' '--mandir=/usr/lib64/php8.3/man' '--infodir=/usr/lib64/php8.3/info' '--libdir=/usr/lib64/php8.3/lib' '--with-libdir=lib64' '--localstatedir=/var' '--without-pear' '--without-valgrind' '--with-external-libcrypt' '--enable-zts' '--without-fpm-apparmor' '--without-password-argon2' '--with-avif' '--enable-bcmath' '--with-bz2=/usr' '--enable-calendar' '--without-capstone' '--enable-ctype' '--with-curl' '--enable-dom' '--with-enchant' '--enable-exif' '--with-ffi' '--enable-fileinfo' '--enable-filter' '--enable-ftp' '--with-gettext=/usr' '--with-gmp=/usr' '--with-mhash=/usr' '--with-iconv' '--enable-intl' '--enable-ipv6' '--without-kerberos' '--with-libxml' '--enable-mbstring' '--with-openssl' '--enable-pcntl' '--enable-phar' '--enable-pdo' '--enable-opcache' '--with-pgsql=/usr' '--enable-posix' '--without-fpm-selinux' '--with-pspell=/usr' '--enable-simplexml' '--disable-shmop' '--with-snmp=/usr' '--enable-soap' '--enable-sockets' '--with-sodium' '--with-sqlite3' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--with-tidy=/usr' '--enable-tokenizer' '--enable-xml' '--enable-xmlreader' '--enable-xmlwriter' '--with-xsl' '--with-zip' '--with-zlib=/usr' '--disable-debug' '--without-valgrind' '--enable-dba' '--with-cdb' '--with-db4=/usr' '--enable-flatfile' '--with-gdbm=/usr' '--enable-inifile' '--without-qdbm' '--with-tcadb=/usr' '--with-lmdb=/usr' '--with-freetype' '--enable-gd-jis-conv' '--with-jpeg' '--with-xpm' '--with-webp' '--enable-gd' '--with-imap=/usr' '--with-imap-ssl=/usr' '--with-mysqli' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--without-unixODBC' '--with-iodbc' '--with-pdo-odbc=iODBC,/usr' '--with-oci8' '--with-pdo-dblib=/usr' '--with-pdo-mysql=mysqlnd' '--with-pdo-pgsql' '--with-pdo-sqlite' '--without-pdo-firebird' '--with-pdo-oci' '--with-readline=/usr' '--without-libedit' '--without-mm' '--with-pic' '--with-external-pcre' '--with-pcre-jit' '--cache-file=/var/tmp/portage/dev-lang/php-8.3.0-r1/temp/config.cache' '--with-config-file-path=/etc/php/cli-php8.3' '--with-config-file-scan-dir=/etc/php/cli-php8.3/ext-active' '--disable-embed' '--enable-cli' '--disable-cgi' '--disable-fpm' '--without-apxs2' '--disable-phpdbg'
 *        phase-helpers.sh, line  732:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *         die "$@"
 *
 * If you need support, post the output of `emerge --info '=dev-lang/php-8.3.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/php-8.3.0-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/php-8.3.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/php-8.3.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/php-8.3.0-r1/work/sapis-build/cli'
 * S: '/var/tmp/portage/dev-lang/php-8.3.0-r1/work/php-8.3.0'

>>> Failed to emerge dev-lang/php-8.3.0-r1, Log file:

Everything is down here because this useflag oci8-instant-client prevents configure :(


Last edited by Nreal on Sun Jan 07, 2024 6:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31019
Location: here

PostPosted: Sun Jan 07, 2024 8:43 am    Post subject: Reply with quote

I tried to compile php8.1 with oci8 and oci8-instant-client use flag enabled, the compilation end fine.
Try to reinstall dev-db/oracle-instantclient.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Nreal
Apprentice
Apprentice


Joined: 06 Jan 2009
Posts: 268

PostPosted: Sun Jan 07, 2024 9:11 am    Post subject: Reply with quote

fedeliallalinea wrote:
I tried to compile php8.1 with oci8 and oci8-instant-client use flag enabled, the compilation end fine.
Try to reinstall dev-db/oracle-instantclient.


Yes it installs just fine, tried 19 version of it, but it does not help installing php.

There seems to be discussion of this problem since 2021 with fedora and others.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21918

PostPosted: Sun Jan 07, 2024 4:04 pm    Post subject: Reply with quote

As I read the shown log, enabling oracle-instantclient causes configure to try to link to unusable oracle libraries, which then leads all later tests unrelated to oracle to fail. You need to find why those oracle libraries are incompatible. Are they even 64-bit libraries, as their path suggests they ought to be? Why does enabling php support for oracle-instantclient cause it to link to these libraries, when they do not work? I would expect configure to bail out when it detects those libraries as broken, rather than continuing on and having later tests malfunction.

As an aside, please use code tags for program output.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum