View previous topic :: View next topic |
Author |
Message |
fabien29200 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Jun 2006 Posts: 32
|
Posted: Sat Feb 09, 2008 9:41 am Post subject: [Solved] Something strange in Apache flags |
|
|
Hello everyone !
I recently upgraded my Apache from older version to 2.2.8.
I followed the upgrade tutorial creating a APACHE2_MODULES in /etc/make.conf.
But things don't seem to work well ... When I try to check what portage want to install, here what I get :
Code: | BlackPearl fabien # emerge -pv apache
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] www-servers/apache-2.2.8 USE="ldap ssl -apache2_modules_actions -apache2_modules_alias -apache2_modules_asis -apache2_modules_auth_basic -apache2_modules_auth_digest -apache2_modules_authn_alias -apache2_modules_authn_anon -apache2_modules_authn_dbd -apache2_modules_authn_dbm -apache2_modules_authn_default -apache2_modules_authn_file -apache2_modules_authz_dbm -apache2_modules_authz_default -apache2_modules_authz_groupfile -apache2_modules_authz_host -apache2_modules_authz_owner -apache2_modules_authz_user -apache2_modules_autoindex -apache2_modules_cache -apache2_modules_cern_meta -apache2_modules_charset_lite -apache2_modules_dav -apache2_modules_dav_fs -apache2_modules_dav_lock -apache2_modules_dbd -apache2_modules_deflate -apache2_modules_dir -apache2_modules_disk_cache -apache2_modules_dumpio -apache2_modules_env -apache2_modules_expires -apache2_modules_ext_filter -apache2_modules_file_cache -apache2_modules_filter -apache2_modules_headers -apache2_modules_ident -apache2_modules_imagemap -apache2_modules_include -apache2_modules_info -apache2_modules_log_config -apache2_modules_log_forensic -apache2_modules_logio -apache2_modules_mem_cache -apache2_modules_mime -apache2_modules_mime_magic -apache2_modules_negotiation -apache2_modules_proxy -apache2_modules_proxy_ajp -apache2_modules_proxy_balancer -apache2_modules_proxy_connect -apache2_modules_proxy_ftp -apache2_modules_proxy_http -apache2_modules_rewrite -apache2_modules_setenvif -apache2_modules_speling -apache2_modules_status -apache2_modules_unique_id -apache2_modules_userdir -apache2_modules_usertrack -apache2_modules_version -apache2_modules_vhost_alias -apache2_mpms_event -apache2_mpms_itk -apache2_mpms_peruser -apache2_mpms_prefork -apache2_mpms_worker -debug -doc (-selinux) -sni -static -suexec -threads" 0 kB
Total: 1 package (1 new), Size of downloads: 0 kB |
There is no APACHE2_MODULES flag but every module is in USE flags with "apache2_modules" prefix.
I certainly did something wrong, but I can't find what.
So I did those classics commands :
Code: | BlackPearl fabien # etc-update
Scanning Configuration files...
Exiting: Nothing left to do; exiting. :)
BlackPearl fabien # revdep-rebuild -a
Configuring search environment for revdep-rebuild
Checking reverse dependencies...
Packages containing binaries and libraries broken by a package update
will be emerged.
Collecting system binaries and libraries... done.
(/root/.revdep-rebuild.1_files)
Collecting complete LD_LIBRARY_PATH... done.
(/root/.revdep-rebuild.2_ldpath)
Checking dynamic linking consistency...
done.
(/root/.revdep-rebuild.3_rebuild)
Assigning files to ebuilds... Nothing to rebuild
Evaluating package order... done.
(/root/.revdep-rebuild.5_order)
Dynamic linking on your system is consistent... All done. |
Here is my make.conf :
Code: | CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs -mmmx -m32"
CHOST="i686-pc-linux-gnu"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
USE="a52 aac alsa -arts -berkdb dvd flac -gnome -ipv6 java jpeg kde mad matroska mp3 mpeg mplayer nsplugin nptlonly ogg opengl png -oss vorbis win32codecs wxwindows X x264 xine xvid"
CXXFLAGS="${CFLAGS}"
FEATURES="ccache -distlocks"
PORTDIR="/fast/portage"
DISTDIR="/fast/portage/distfiles"
PORTAGE_TMPDIR ="/fast/tmp"
CCACHE_DIR="/fast/ccache/"
CCACHE_SIZE="4G"
LINGUAS="en"
CONFIG_PROTECT="/usr/kde/3.5/share/config/kdm/ /etc"
ALSA_CARDS="emu10k1"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="radeon"
APACHE2_MODULES="authz_host dir mime access auth auth_dbm auth_anon auth_digest alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so"
|
What can I do next ?
Last edited by fabien29200 on Sat Feb 09, 2008 1:47 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
magic919 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 17 Jun 2005 Posts: 2182 Location: Berkshire, UK
|
Posted: Sat Feb 09, 2008 11:47 am Post subject: |
|
|
Check /etc/portage/package.use. Otherwise post output of emerge --info. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fabien29200 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Jun 2006 Posts: 32
|
Posted: Sat Feb 09, 2008 12:26 pm Post subject: |
|
|
I moved my /etc/portage/package.use but the result is the same.
Code: | BlackPearl fabien # emerge --info
Portage 2.1.3.19 (!..//usr/portage/profiles/default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 Unknown CPU Typ
Timestamp of tree: Fri, 08 Feb 2008 22:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs -mmmx -m32"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm/ /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs -mmmx -m32"
DISTDIR="/fast/portage/distfiles"
FEATURES="ccache metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/fast/tmp"
PORTDIR="/fast/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox flac fortran gdbm gif gpm gstreamer gtk hal iconv isdnlog java jpeg kde kerberos ldap libg++ mad matroska midi mikmod mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs wxwindows x264 x86 xine xml xorg xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
magic919 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 17 Jun 2005 Posts: 2182 Location: Berkshire, UK
|
Posted: Sat Feb 09, 2008 12:36 pm Post subject: |
|
|
That's interesting. It lacks APACHE2_MODULES , which is probably the trouble. As for why... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fabien29200 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Jun 2006 Posts: 32
|
Posted: Sat Feb 09, 2008 12:59 pm Post subject: |
|
|
I am comparing the previous emerge --info with one of my other computer which APACHE2_MODULES works.
And I see a difference with the profile :
Code: | Portage 2.1.3.19 (!..//usr/portage/profiles/default-linux/x86/2007.0/desktop |
And the working one
Code: | Portage 2.1.3.19 (default-linux/x86/2007.0/desktop |
I will try after relinking the profile |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fabien29200 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Jun 2006 Posts: 32
|
Posted: Sat Feb 09, 2008 1:16 pm Post subject: |
|
|
Still don't work. I did :
Code: | ln -snf /usr/portage/profiles/default-linux/x86/2007.0/desktop /etc/make.profile |
But emerge --info says :
Code: | Portage 2.1.3.19 (!/usr/portage/profiles/default-linux/x86/2007.0/desktop |
I still have the '!' character and the path is absolute. On the working machine the profile seems "recognized".
Is this a clue ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
magic919 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 17 Jun 2005 Posts: 2182 Location: Berkshire, UK
|
Posted: Sat Feb 09, 2008 1:22 pm Post subject: |
|
|
What do you see when you ls -la /etc/make.profile? Does it look ok? You might be on to something. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fabien29200 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 12 Jun 2006 Posts: 32
|
Posted: Sat Feb 09, 2008 1:47 pm Post subject: |
|
|
That was the problem.
In fact I moved portage on RAID0 partition (/fast) and my profile was linked to /usr/portage/...
I replaced /etc/make.profile with the same profile in /fast/portage and it works now !
Thanks for your help magic919 ! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
magic919 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 17 Jun 2005 Posts: 2182 Location: Berkshire, UK
|
Posted: Sat Feb 09, 2008 6:18 pm Post subject: |
|
|
You're welcome. I'm glad you got it sorted. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|