Elijah 0 Posted October 3, 2014 Share Posted October 3, 2014 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 : 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 Link to comment Share on other sites More sharing options...
Rumor 2603 Posted October 3, 2014 Share Posted October 3, 2014 http://metin2dev.org/board/topic/72-freebsd-9-64-bit-metin2-install/ 1 Link to comment Share on other sites More sharing options...
Elijah 0 Posted October 3, 2014 Author Share Posted October 3, 2014 Don't work ^^ now freebsd use only command pkg. Link to comment Share on other sites More sharing options...
Rumor 2603 Posted October 3, 2014 Share Posted October 3, 2014 you sure you aren't using freebsd 10? I just tried installing PHP5 on 9.1 and it works fine. Cloudflare keeps blocking me for posting this code, so I'm putting it on pastebin for now. http://pastebin.com/vFpxAc1y Link to comment Share on other sites More sharing options...
Elijah 0 Posted October 3, 2014 Author Share Posted October 3, 2014 I use Freebsd 9.2 64 bits. It's same with mysql : root@ns3271:/usr/ports/databases/mysql55-server # make installpkg-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 # But You are install when ? Because now FreeBSD use only pkg_add for install package. It's new for september/october. Link to comment Share on other sites More sharing options...
Rumor 2603 Posted October 3, 2014 Share Posted October 3, 2014 I told you I just tried it.. that means right before I replied. the problem with what you're saying is that I just verified it works on this version and you're telling me it doesn't. You've yet to prove which version you're using. Also, read the error.. it just says to update pkg. http://metin2dev.org/board/topic/3226-how-how-upgrade-pkg/ Link to comment Share on other sites More sharing options...
Elijah 0 Posted October 3, 2014 Author Share Posted October 3, 2014 (edited) Ok For mysql it's work now with pkg command pkg_add -rv mysql56-serverBut now, I search for install Apache/php5 and PHP5-extension.With Pkg it's ok ^^ But I need the make config : example : And How are this config with pkg command ? ^^ thanks for your help Edited August 26, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Rumor 2603 Posted October 3, 2014 Share Posted October 3, 2014 try this: pkg-config Link to comment Share on other sites More sharing options...
Elijah 0 Posted October 3, 2014 Author Share Posted October 3, 2014 No, don't work :s root@ns385667:/usr/metin2 # cd /usr/ports/www/apache22 root@ns385667:/usr/ports/www/apache22 # pkg-config Please specify at least one package name on the command line. Link to comment Share on other sites More sharing options...
Rumor 2603 Posted October 3, 2014 Share Posted October 3, 2014 pkg-config mysql56-server Link to comment Share on other sites More sharing options...
Elijah 0 Posted October 3, 2014 Author Share Posted October 3, 2014 No :s root@ns385667:/usr/ports/www/mod_php5 # cd /usr/ports/www/apache22 root@ns385667:/usr/ports/www/apache22 # pkg-config apache22 root@ns385667:/usr/ports/www/apache22 # Link to comment Share on other sites More sharing options...
Rumor 2603 Posted October 3, 2014 Share Posted October 3, 2014 I think you're supposed to do this: pkg install apache22 and it will ask for the settings Link to comment Share on other sites More sharing options...
Elijah 0 Posted October 3, 2014 Author Share Posted October 3, 2014 No, Don't work :s Link to comment Share on other sites More sharing options...
Elijah 0 Posted October 3, 2014 Author Share Posted October 3, 2014 Ok, It's work For install Mysql it's good, it's just : pkg-config mysql56-server And metin2 work. For this : 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 : cd /usr/ports/www/apache22 make config make install But after for install php5 :'( : 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 : 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 ? Link to comment Share on other sites More sharing options...
Rumor 2603 Posted October 3, 2014 Share Posted October 3, 2014 it looks like it's saying that you need apache installed. are you sure it's installed? is it running? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now