Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[solved] emerge mod_php couldnt find yp/nis

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
rmcknt
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 77
Joined: Thu Dec 26, 2002 5:38 pm
Location: Ingolstadt, Germany

[solved] emerge mod_php couldnt find yp/nis

  • Quote

Post by rmcknt » Wed May 12, 2004 5:38 pm

after having python re-emerged, it worked pretty well ;)

#####

Hi,

as i switched to gcc3.4 i couldnt run apache anymore. libphp4.so needs libstdc++.so.5 from my old gcc which i have removed ;)
but no prob, a simle re-emerge should solve this prob, that's what i thought.

but while autconf checks my system, it claims, that yp/nis couldnt be found on my system. the strange thing is, i had this package on my system, it's just a re-emerge.

Code: Select all

[ebuild   R   ] dev-php/mod_php-4.3.6-r1  -X -apache2 +berkdb +crypt -curl -doc -fdftk -firebird -flash -freetds -gd -gd-external +gdbm -gmp -imap -informix -ipv6 -java -jpeg -ldap -mcal -memlimit +mysql -nls -oci8 -odbc +pam -pdflib -png -postgres -qt -snmp -spell +ssl -tiff -truetype +xml2 -yaz  3,866 kB

here's the exact error message

Code: Select all

checking whether to include YP support... yes
checking for yp_match in -lnsl... no
checking for yp_match in -lc... no
configure: error: Unable to find required yp/nis library

!!! ERROR: dev-php/mod_php-4.3.6-r1 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed


does anyone know how to solve this prob? i don't hav a nis server running.


mike
Top
Beforegod
Bodhisattva
Bodhisattva
Posts: 1495
Joined: Wed Apr 10, 2002 8:08 am
Location: Würzburg

  • Quote

Post by Beforegod » Fri Jun 25, 2004 9:05 am

I have the same Problem with mod_php-4.3.7.

Here my settings :

Code: Select all

Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7)
=================================================================
System uname: 2.6.7 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-s -march=athlon-tbird -Os -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-s -march=athlon-tbird -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ ftp://mirror.switch.ch/mirror/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://gentoo.inode.at/ ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/gentoo.de /usr/local/overlays/bmg-main.alternative"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X acpi aim alsa apache2 avi berkdb crypt cups curl dga divx4linux dvd encode fbcon foomaticdb gif gimpprint gtk gtk2 gtkhtml guile icq imagemagick imlib imlib2 jabber java jpeg libg++ libwww mad matrox mmx moznocompose moznoirc moznomail moznoxft mozp3p mozsvg mozxmlterm mpeg mplayer msn mysql ncurses nls noaudio nojoystick nptl offensive oggvorbis opengl oscar pam perl png ppds python quicktime readline samba sdl slang snmp sse ssl svg svga tcltk tcpd tiff truetype usb vim-with-x x86 xfs xml2 xrandr xv xvid zlib"
and the error message :

Code: Select all

checking whether to include YP support... yes
checking for yp_match in -lnsl... no
checking for yp_match in -lc... no
configure: error: Unable to find required yp/nis library

!!! ERROR: dev-php/mod_php-4.3.6-r2 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed

buero mod_php #

Top
rmcknt
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 77
Joined: Thu Dec 26, 2002 5:38 pm
Location: Ingolstadt, Germany

  • Quote

Post by rmcknt » Fri Jun 25, 2004 9:08 am

Hi there,

just try

Code: Select all

 emerge python 
to re-emerge python, this should solve your prob ;)

Mike
Top
Beforegod
Bodhisattva
Bodhisattva
Posts: 1495
Joined: Wed Apr 10, 2002 8:08 am
Location: Würzburg

  • Quote

Post by Beforegod » Fri Jun 25, 2004 9:21 am

Ok ill give it a try
Top
Beforegod
Bodhisattva
Bodhisattva
Posts: 1495
Joined: Wed Apr 10, 2002 8:08 am
Location: Würzburg

  • Quote

Post by Beforegod » Fri Jun 25, 2004 9:39 am

Doesn't work for me..
tryed to install the ypserver but doesn't work :(

Any other help?
Top
jh
n00b
n00b
Posts: 4
Joined: Thu Jul 17, 2003 11:50 pm

  • Quote

Post by jh » Sat Aug 07, 2004 1:06 am

I also tried this with a build up from stage3 2004.2, and it failed.
(Apache2 installed)

checking whether to include YP support... yes
checking for yp_match in -lnsl... no
checking for yp_match in -lc... no
configure: error: Unable to find required yp/nis library

!!! ERROR: dev-php/mod_php-4.3.8 failed.
!!! Function econf, Line 362, Exitcode 1
!!! econf failed

I tried re-emerging python, no effect. I tried using USE="*" no effect. I tried removing the network name from the machine in /etc/hosts so dnsdomainname shows nothing, no effect. I tried editing the ebuild so that --disable-yp was the first configuration option, and it was ignored.
Top
junklight
n00b
n00b
Posts: 1
Joined: Wed Jun 08, 2005 8:18 pm

  • Quote

Post by junklight » Wed Jun 08, 2005 8:20 pm

I tried all the things here to no avail.

Looking in the config.log file it was apparent that the problem was sablotron not finding things in glibc. Since I had rebuilt glibc I re-emerged sablotron.

And lo and behold it worked :-)
Top
PT_LAmb
Guru
Guru
User avatar
Posts: 332
Joined: Mon Apr 22, 2002 4:55 am
Location: Lisboa (Lisbon), Portugal

  • Quote

Post by PT_LAmb » Fri Dec 16, 2005 10:06 am

There's also [post=2960144]this[/post] workaround.
SETI@Home - http://setiathome.ssl.berkeley.edu/
Top
Post Reply

8 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic