129fa www/apache22 compilation error - Page 2 - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #26  
Old August 21st, 2012, 15:12
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,701
Thanks: 429
Thanked 1,757 Times in 1,456 Posts
Default

Quote:
Originally Posted by k1piee View Post
I got the same dependencies as you did so I ran:
# portmaster devel/pcre devel/apr1 textproc/expat2 lang/perl5.12 databases/gdbm databases/db42 converters/libiconv
I've already re-built pretty much every port I have installed by now and nothing makes a difference. I still get the same annoying error message.. And pkg_libchk still says that libpcre.so.0 is missing.
Not exactly. It's saying that a package still wants that library, which no longer exists. The trick is to rebuild whatever is looking for it. In your case, the Apache package was built to expect that library. But you can't build the Apache port because something earlier is broken, devel/apr1 from the earlier errors. This is frustrating because I know I fixed pcre problems on this machine earlier, but can't remember any specific procedure and didn't take notes.

Quote:
I don't know if this might have anything to do with this but I've noticed when I've re-installed a couple of ports that some ports wants lang/perl5.12 and some lang/perl5.14, I have 5.12 installed.
No, it's not a Perl problem. At this point, kind of a shotgun approach... Since it's a libtool thing, it's worth rebuilding all of the libtool and automake stuff, then rebuilding apr, then trying Apache again:
# portmaster libtool automake
# portmaster apr apache

Last edited by wblock@; August 22nd, 2012 at 02:20. Reason: add missing word
Reply With Quote
  #27  
Old August 22nd, 2012, 16:54
k1piee k1piee is offline
Junior Member
 
Join Date: Apr 2009
Posts: 88
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Yeah but right now it feels like I've rebuilt almost every port and nothing makes a difference hehe. It's really frustrating as I really need to compile this..

EDIT:
Forgot to mention that I did re-install the ports as you asked but made no difference.

Last edited by k1piee; August 22nd, 2012 at 20:57.
Reply With Quote
  #28  
Old August 22nd, 2012, 22:43
kr651129 kr651129 is offline
Member
 
Join Date: Feb 2012
Posts: 287
Thanks: 18
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by k1piee View Post
Yeah but right now it feels like I've rebuilt almost every port and nothing makes a difference hehe. It's really frustrating as I really need to compile this..

EDIT:
Forgot to mention that I did re-install the ports as you asked but made no difference.
Can you tell us what configure options you selected when you recompiled them?
Reply With Quote
  #29  
Old August 23rd, 2012, 15:42
k1piee k1piee is offline
Junior Member
 
Join Date: Apr 2009
Posts: 88
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Sure, for which ports?
Reply With Quote
  #30  
Old August 23rd, 2012, 16:00
k1piee k1piee is offline
Junior Member
 
Join Date: Apr 2009
Posts: 88
Thanks: 3
Thanked 0 Times in 0 Posts
Default

www/apache22:
Code:
[root@mail /usr/ports/www/apache22]# make showconfig
===> The following configuration options are available for apache-2.2.22_6:
     THREADS=off: apr was build with threads
     MYSQL=on: apu was build with MySQL
     PGSQL=off: apu was build with PgSQL
     SQLITE=off: apu was build with SQLite
     IPV6=on: IPv6 support
     AUTH_BASIC=on: mod_auth_basic
     AUTH_DIGEST=on: mod_auth_digest
     AUTHN_FILE=on: mod_authn_file
     AUTHN_DBD=off: mod_authn_dbd
     AUTHN_DBM=on: mod_authn_dbm
     AUTHN_ANON=on: mod_authn_anon
     AUTHN_DEFAULT=on: mod_authn_default
     AUTHN_ALIAS=on: mod_authn_alias
     AUTHZ_HOST=on: mod_authz_host
     AUTHZ_GROUPFILE=on: mod_authz_groupfile
     AUTHZ_USER=on: mod_authz_user
     AUTHZ_DBM=on: mod_authz_dbm
     AUTHZ_OWNER=on: mod_authz_owner
     AUTHZ_DEFAULT=on: mod_authz_default
     CACHE=on: mod_cache
     DISK_CACHE=on: mod_disk_cache
     FILE_CACHE=on: mod_file_cache
     MEM_CACHE=off: mod_mem_cache
     DAV=on: mod_dav
     DAV_FS=on: mod_dav_fs
     BUCKETEER=off: mod_bucketeer
     CASE_FILTER=off: mod_case_filter
     CASE_FILTER_IN=off: mod_case_filter_in
     EXT_FILTER=off: mod_ext_filter
     LOG_FORENSIC=off: mod_log_forensic
     OPTIONAL_HOOK_EXPORT=off: mod_optional_hook_export
     OPTIONAL_HOOK_IMPORT=off: mod_optional_hook_import
     OPTIONAL_FN_IMPORT=off: mod_optional_fn_import
     OPTIONAL_FN_EXPORT=off: mod_optional_fn_export
     LDAP=off: mod_ldap
     AUTHNZ_LDAP=off: mod_authnz_ldap
     ACTIONS=on: mod_actions
     ALIAS=on: mod_alias
     ASIS=on: mod_asis
     AUTOINDEX=on: mod_autoindex
     CERN_META=on: mod_cern_meta
     CGI=on: mod_cgi
     CHARSET_LITE=on: mod_charset_lite
     DBD=off: mod_dbd
     DEFLATE=on: mod_deflate
     DIR=on: mod_dir
     DUMPIO=on: mod_dumpio
     ENV=on: mod_env
     EXPIRES=on: mod_expires
     HEADERS=on: mod_headers
     IMAGEMAP=on: mod_imagemap
     INCLUDE=on: mod_include
     INFO=on: mod_info
     LOG_CONFIG=on: mod_log_config
     LOGIO=on: mod_logio
     MIME=on: mod_mime
     MIME_MAGIC=on: mod_mime_magic
     NEGOTIATION=on: mod_negotiation
     REWRITE=on: mod_rewrite
     SETENVIF=on: mod_setenvif
     SPELING=on: mod_speling
     STATUS=on: mod_status
     UNIQUE_ID=on: mod_unique_id
     USERDIR=on: mod_userdir
     USERTRACK=on: mod_usertrack
     VHOST_ALIAS=on: mod_vhost_alias
     FILTER=on: mod_filter
     SUBSTITUTE=off: mod_substitute
     VERSION=on: mod_version
     PROXY=off: mod_proxy
     PROXY_CONNECT=off: mod_proxy_connect
     PROXY_FTP=off: mod_proxy_ftp
     PROXY_HTTP=off: mod_proxy_http
     PROXY_AJP=off: mod_proxy_ajp
     PROXY_BALANCER=off: mod_proxy_balancer
     PROXY_SCGI=off: mod_proxy_scgi
     SSL=on: mod_ssl
     SUEXEC=off: mod_suexec
     SUEXEC_RSRCLIMIT=off: SuEXEC rlimits based on login class
     REQTIMEOUT=on: mod_reqtimeout
     CGID=off: mod_cgid
===> Use 'make config' to modify these settings
devel/apr1:
Code:
[root@mail /usr/ports/devel/apr1]# make showconfig
===> The following configuration options are available for apr-ipv6-devrandom-gdbm-db42-mysql55-1.4.5.1.3.12_1:
     THREADS=on: Threading support
     IPV6=on: IPv6 support
     DEVRANDOM=on: Use /dev/random or compatible
     BDB=on: Berkeley DB support
     GDBM=on: GNU dbm support
     LDAP=off: LDAP support
     MYSQL=on: MySQL backend
     NDBM=off: NDBM support
     PGSQL=off: PostgreSQL backend
     SQLITE=off: SQLite backend
===> Use 'make config' to modify these settings
Reply With Quote
  #31  
Old August 24th, 2012, 01:05
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,701
Thanks: 429
Thanked 1,757 Times in 1,456 Posts
Default

Yesterday, I was having mysterious problems rebuilding some ports. After today's update to devel/pkgconf, I was able to rebuild lang/python27 and the ports that needed it.

Since nothing else has worked, it's worth trying that. Update pkgconf, then rebuild everything that Apache depends on, then try building it again.
Code:
... update ports tree
# portmaster `pkg_info -qr apache-2.2.22_6 | sed -e 's/@pkgdep //g'`
# cd /usr/ports/www/apache22
# make clean install
Reply With Quote
  #32  
Old August 25th, 2012, 07:21
k1piee k1piee is offline
Junior Member
 
Join Date: Apr 2009
Posts: 88
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Still the same... I just don't get how I can get this error when I've tried to recompile everything already. Might there some some port missing that it doesn't know about so it doesn't install it automatically?
Reply With Quote
  #33  
Old August 25th, 2012, 14:54
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,701
Thanks: 429
Thanked 1,757 Times in 1,456 Posts
Default

In post #31, I forgot to put
# portmaster -r pkgconf
after "...update the ports tree".

Otherwise, the only trick I've got left is the brute-force approach of removing and rebuilding all ports. See the end of the portmaster(8) man page for a procedure. If that procedure doesn't fix it, there could be a problem with the operating system itself. A use of freebsd-update(8) or updating from source would be the next step.

A good thing about really annoying problems is, like SirDice says, the experience gained from them.
Reply With Quote
  #34  
Old August 30th, 2012, 20:26
k1piee k1piee is offline
Junior Member
 
Join Date: Apr 2009
Posts: 88
Thanks: 3
Thanked 0 Times in 0 Posts
Default

I tried to recompile the entire ports tree and it didn't help. I tried to upgrade to 9.1-RC1 And recompile the ports tree and it didn't help. So now I'm going to reinstall the entire server cause I can't spend any more time troubleshooting this.

Thanks a lot for your help though, I really appreciate it!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
killpg1 compilation error julai Userland Programming & Scripting 1 July 1st, 2012 01:09
FreeBSD 6.2 - g++-4.1.2 Compilation error spartan_2020 FreeBSD Development 1 December 28th, 2010 21:29
KDevelop Compilation Error overmind Userland Programming & Scripting 1 October 16th, 2010 15:08
Gen-GS compilation error? Purple_Q Porting New Software 5 December 4th, 2009 19:58
[Solved] libutf-8 compilation error Voltar Installation and Maintenance of FreeBSD Ports or Packages 7 November 29th, 2009 07:59


All times are GMT +1. The time now is 13:41.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0