DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 31st July 2012
barti barti is offline
Shell Scout
 
Join Date: Jul 2012
Posts: 122
Thanked 0 Times in 0 Posts
Default drupal install does not work

I'm trying to install drupal , just to see if it is working and to check the backups the from Linux centos machine .
Code:
# pkg_add -r drupal

drupal-6.24:libxml-2.7.8p4: ok
drupal-6.24:femail-0.98: ok
drupal-6.24:femail-chroot-0.98: ok
drupal-6.24hp-5.3.10: ok
drupal-6.24:t1lib-5.1.2: ok
drupal-6.24ng-1.5.6p0: ok
drupal-6.24:jpeg-8c: ok
Can't install php-gd-5.3.10 because of libraries
|library X11.15.0 not found
| not found anywhere
|library Xpm.8.0 not found
| not found anywhere
|library freetype.18.1 not found
| not found anywhere
Direct dependencies for php-gd-5.3.10 resolve to php-5.3.10 png-1.5.6p0 t1lib-5.1.2 jpeg-8c
Full dependency tree is femail-chroot-0.98 libiconv-1.14 t1lib-5.1.2 gettext-0.18.1p1 jpeg-8c femail-0.98 php-5.3.10 png-1.5.6p0 libxml-2.7.8p4
drupal-6.24:mysql-client-5.1.60p0: ok
drupal-6.24hp-mysql-5.3.10: ok
Can't install drupal-6.24: can't resolve php-gd-5.3.10
--- +femail-chroot-0.98 -------------------
By default, femail will use `localhost' for smtphost. Make sure to
review FAQ Section 10.16 discussing name resolution with httpd(8)'s
default chroot(2).

Additionally, one may create a custom femail.conf; see femail(8).

If you're using femail with PHP inside a chroot jail, be aware that
PHP's built-in "mail" function uses popen(), which requires /bin/sh.
--- +php-5.3.10 -------------------
To enable the php-5.3 module please create a symbolic
link from /var/www/conf/modules.sample/php-5.3.conf
to /var/www/conf/modules/php.conf.

ln -s /var/www/conf/modules.sample/php-5.3.conf \
/var/www/conf/modules/php.conf

The recommended php configuration has been installed
to /etc/php-5.3.ini.
--- +php-mysql-5.3.10 -------------------
You can enable this module by creating a symbolic
link from /etc/php-5.3.sample/mysql.ini to
/etc/php-5.3/mysql.ini.

ln -fs /etc/php-5.3.sample/mysql.ini \
/etc/php-5.3/mysql.ini
# pkg_add -r php-gd
Ambiguous: php-gd could be php-gd-5.3.10 php-gd-5.2.17p6
# pkg_add -r php-gd-5.3.10
Can't install php-gd-5.3.10 because of libraries
|library X11.15.0 not found
| not found anywhere
|library Xpm.8.0 not found
| not found anywhere
|library freetype.18.1 not found
| not found anywhere
Direct dependencies for php-gd-5.3.10 resolve to php-5.3.10 png-1.5.6p0 t1lib-5.1.2 jpeg-8c
Full dependency tree is femail-chroot-0.98 libiconv-1.14 t1lib-5.1.2 gettext-0.18.1p1 jpeg-8c femail-0.98 php-5.3.10 png-1.5.6p0 libxml-2.7.8p4

Last edited by ocicat; 2nd August 2012 at 06:19 PM. Reason: Please use [code] & [/code] tags when posting command output!
Reply With Quote
  #2   (View Single Post)  
Old 31st July 2012
barti barti is offline
Shell Scout
 
Join Date: Jul 2012
Posts: 122
Thanked 0 Times in 0 Posts
Default

How can I install X server ?

Thanks.
Reply With Quote
  #3   (View Single Post)  
Old 31st July 2012
bmk1st bmk1st is offline
Port Guard
 
Join Date: May 2008
Posts: 25
Thanked 0 Times in 0 Posts
Default

Since you forgot to select X11 file sets while installing OpenBSD and you need to install X11. OpenBSD FAQ has the answer

http://www.openbsd.org/faq/faq4.html#AddFileSet
Reply With Quote
  #4   (View Single Post)  
Old 31st July 2012
barti barti is offline
Shell Scout
 
Join Date: Jul 2012
Posts: 122
Thanked 0 Times in 0 Posts
Default

One common mistake is to think you can use pkg_add(1) to add missing file sets. This does not work. pkg_add(1) is the package management tool to install third party software. It handles package files, not generic tar files like the install sets.

-----------

I didn't install it.

www.rootbsd.net did.

Not with x11 .
Reply With Quote
  #5   (View Single Post)  
Old 31st July 2012
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,710
Thanked 214 Times in 189 Posts
Default

Many applications use X11 libraries. X11 libraries are located in the xbase*.tgz fileset.

If you do not want to or are unable to follow the FAQ's instructions, please contact your vendor for assistance. They will either follow the FAQ on your behalf, give you permission to do so, or assist you with following the FAQ.
Reply With Quote
  #6   (View Single Post)  
Old 31st July 2012
gpatrick gpatrick is offline
Shell Scout
 
Join Date: Nov 2009
Posts: 120
Thanked 0 Times in 0 Posts
Default

Go to the download site (e.g., 5.1) http://mirror.esc7.net/pub/OpenBSD/5.1/i386/ and fetch the x*.gz filesets. Then extract them on your server.
Reply With Quote
  #7   (View Single Post)  
Old 31st July 2012
barti barti is offline
Shell Scout
 
Join Date: Jul 2012
Posts: 122
Thanked 0 Times in 0 Posts
Default

pkg_add -r drupal
It is working on my desktop computer where X is running.
All is installed, no errors.


--------
I can't copy paste from screen like in win\linux , why is that?
--------


What is the next step?
Reply With Quote
  #8   (View Single Post)  
Old 31st July 2012
barti barti is offline
Shell Scout
 
Join Date: Jul 2012
Posts: 122
Thanked 0 Times in 0 Posts
Default drupal install does not work

/etc/rc.d httpd start

I see the apache IT WORKED ! message when 127.0.0.1

I don't see "mysql" in /etc/rc.d

Last edited by barti; 31st July 2012 at 09:03 PM.
Reply With Quote
  #9   (View Single Post)  
Old 31st July 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Congratulations barti ! first sight of Apache face is a joy :-)

Quote:
I can't copy paste from screen like in win\linux , why is that?
When you select a text area with left mouse that's equal to copy+right click in Windows ..
but while text is still selected , move gently to target area & click both left and right to paste content (that's how my synaptics work anyway)
Otherwise you can direct text to a file then open it with let's say gedit or something .. konsole (on kde) and gnome console have the copy ability the way you wish :-)
Keep going .. Puffy rocks !
Reply With Quote
Old 31st July 2012
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,710
Thanked 214 Times in 189 Posts
Default

Quote:
I don't see "mysql" in /etc/rc.d
You did not install mysql-server.
Reply With Quote
Old 1st August 2012
barti barti is offline
Shell Scout
 
Join Date: Jul 2012
Posts: 122
Thanked 0 Times in 0 Posts
Default

what happen when installing drupal with pkg_add ?

Where are drupal files ?
Reply With Quote
Old 1st August 2012
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,710
Thanked 214 Times in 189 Posts
Default

$ pkg_info -L drupal
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
Drupal 7 released J65nko News 0 6th January 2011 08:32 PM
nspluginwrapper not work... marduk NetBSD Installation and Upgrading 4 3rd January 2011 10:23 PM
Drupal clarifies security rules after White-House gaper J65nko News 0 11th June 2010 05:51 AM
How - To install GNOME vile I install OpenBSD ? looop OpenBSD Installation and Upgrading 6 24th April 2010 08:58 PM
Upgrading Drupal 5.5 or clean install cwhitmore FreeBSD Ports and Packages 1 11th June 2008 07:35 AM


All times are GMT. The time now is 06:50 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick