[Dedicated Server] Freebsd 9.2 64 bits install metin2 and apache

10/03/2014 01:41 JovaProd#1
Hi :)

Now, FreeBSD use pkg_add command for install package.

You are solution for install Apache22 / PHP5 / PHP5 extension AND Metin2 ?




If I install apache ... with sample command I have this error :

Quote:
pkg-static: PACKAGESITE in pkg.conf is no longer supported. Convert to the new repository style. See pkg.conf(5)
pkg-static: Cannot parse configuration file!
*** [check-already-installed] Error code 70

Stop in /usr/ports/print/indexinfo.
*** [run-depends] Error code 1

Stop in /usr/ports/devel/m4.
*** [install] Error code 1

Stop in /usr/ports/devel/m4.
*** [build-depends] Error code 1

Stop in /usr/ports/devel/autoconf.
*** [build-depends] Error code 1

Stop in /usr/ports/www/apache24.
*** [install] Error code 1

Stop in /usr/ports/www/apache24.
root@ns385667:/usr/ports/www/apache24 #


Now I search a good tutorial for install : Apache22 / PHP5 / PHP5 extension AND Metin2 ?



Thanks :)
10/03/2014 01:51 -Icetea-#2
[Only registered and activated users can see links. Click Here To Register...]
10/03/2014 02:02 JovaProd#3
Thanks but don't work ^^
2014 freebsd change command for package.
Not Use only with pkg_add.

For apache it's work with this :
Quote:
pkg_add -r apache22
But for php5 and extension I need a make config.
And don't work with make config I have error ^^

Error for mysql :
Quote:
root@ns3271:/usr/ports/databases/mysql55-server # make install
pkg-static: PACKAGESITE in pkg.conf is deprecated. Please create a repository configuration file
===> mysql55-server-5.5.40 pkg(8) must be version 1.3.8 or greater, but you have 1.2.7_1. You must upgrade the ports-mgmt/pkg port first.
*** [install] Error code 1
Stop in /usr/ports/databases/mysql55-server.
root@ns3271:/usr/ports/databases/mysql55-server #
If I use pkg_add -rv mysql55-server :

Quote:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
10/03/2014 13:01 Jоe#4
pkg-static: PACKAGESITE in pkg.conf is deprecated. Please create a repository configuration file
===> mysql55-server-5.5.40 pkg(8) must be version 1.3.8 or greater, but you have 1.2.7_1. You must upgrade the ports-mgmt/pkg port first.
10/03/2014 14:22 .Dzana™#5
Quote:
Originally Posted by testisface123 View Post
Und was soll der spam du Mongo? Wenn du keine Ahnung hast wie du leuten helfen kannst dann hdf und spam die threads nicht.

BTT: Update your mgmt Ports, that should help you, cuz PKGNG is outdated.
Reported :-)

@Topic
Upgrade the ports-mgmt/pkg port :-)
10/03/2014 16:41 JovaProd#6
Ok,
It's work :)
For install Mysql it's good, it's just : pkg-config mysql56-server
And metin2 work.

For this :

Code:
1. pkg update	
2. pkg upgrade (Y)	
3. go /usr/local/etc/ and Delete pkg.conf	
4. pkg_add -r portupgrade	
5. /usr/local/sbin/portupgrade -a
For install apache it's ok with :
Code:
cd /usr/ports/www/apache22
make config
make install
But after for install php5 :'( :

Code:
root@ns385667:/usr/ports/www/apache22 # cd /usr/ports/www/mod_php55
root@ns385667:/usr/ports/www/mod_php55 # make config
With make config it's good
But for make install clean I have little error :

Code:
root@ns385667:/usr/ports/www/mod_php55 # make install clean
===>  mod_php55-5.5.17_1 is marked as broken: : Error from bsd.apache.mk. apache22 is installed (or APACHE_PORT is defined) and port requires apache.
*** [install] Error code 1
You are solution ?