Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: sad111 on September 13, 2006, 12:41:08 PM

Title: Gallery2 install feedback
Post by: sad111 on September 13, 2006, 12:41:08 PM
I have revamped the install script to work from /opt now.
I would like feedback from a developer to see if it is in line with standard?
I would also like testers to check for bugs.
I know this seems like alot of trouble for something so simple but I was using it as a learning experience.
If all is well than I can work on other scripts and learn howto build RPMs.


Thanks.


http://www.linux-one.org/gallery-final/gallery2-install.tar.gz
Title: Gallery2 install feedback
Post by: gpptsi on December 20, 2006, 12:45:23 AM
Before I try this and attempt.
Are these any other dependencies that I need before the install?
I just have a base load of 7.0 Final and PHPBB2 running.

Let me know.

Thanks,
Title: Gallery2 install feedback
Post by: gpptsi on December 20, 2006, 02:02:29 AM
Works!!!!!
Simple. Now just move this in to the HOW - To

I've been looking for the for weeks now.
Title: Gallery2 install feedback
Post by: gpptsi on December 20, 2006, 06:26:52 AM
Any chance of someone helping me locate ImageMagick.
I've been looking now for hours...Both on this site, Google and Gallery2 site.

I know the commands for install, as it was located within this forum,

yum --enablerepo=base install ImageMagick

But where can I download the ImageMagick package.

Thanks,
Title: Gallery2 install feedback
Post by: cactus on December 20, 2006, 08:20:10 AM
Quote from: "gpptsi"
Any chance of someone helping me locate ImageMagick.
I've been looking now for hours...Both on this site, Google and Gallery2 site.

I know the commands for install, as it was located within this forum,

yum --enablerepo=base install ImageMagick

But where can I download the ImageMagick package.

Thanks,
You can download a suitable ImageMagick rpm from the base repositorie indeed, using yum it is downloaded and installed automatically. The website of ImageMagick is www.imagemagick.org.
Title: Gallery2 install feedback
Post by: piran on December 20, 2006, 03:15:27 PM
<You can download a suitable ImageMagick rpm from
the base repositorie indeed, using yum it is downloaded
and installed automatically.>

So it is... in a manner of speaking.
This is what I got when I did thus:
Code: [Select]
2006-12-20 1355hrs local


[root@teri tmp]# mkdir test
[root@teri tmp]# cd test
[root@teri test]# yum --enablerepo=base install ImageMagick
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Install Process
Setting up repositories
smeaddons                 100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
smeos                     100% |=========================|  951 B    00:00
smeupdates                100% |=========================|  951 B    00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 569 kB    00:02
base      : ################################################## 1500/1500
Added 1500 new packages, deleted 0 old in 7.79 seconds
primary.xml.gz            100% |=========================|  54 kB    00:00
http://mirror.contribs.org/smeserver/releases/7/smeupdates/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does n                             ot match checksum
Trying other mirror.
primary.xml.gz            100% |=========================|  54 kB    00:00
http://mirror.contribs.org/smeserver/releases/7/smeupdates/i386/repodata/primary.xml.gz: [Errno -1] Metadata f                             ile does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================|  56 kB    00:00
smeupdates: ################################################## 93/93
Added 3 new packages, deleted 0 old in 0.17 seconds
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for ImageMagick to pack into transaction set.
ImageMagick-6.0.7.1-14.i3 100% |=========================|  42 kB    00:00
---> Package ImageMagick.i386 0:6.0.7.1-14 set to be updated
--> Running transaction check
--> Processing Dependency: libXt.so.6 for package: ImageMagick
--> Processing Dependency: libdpstk.so.1 for package: ImageMagick
--> Processing Dependency: libX11.so.6 for package: ImageMagick
--> Processing Dependency: libSM.so.6 for package: ImageMagick
--> Processing Dependency: libICE.so.6 for package: ImageMagick
--> Processing Dependency: libdps.so.1 for package: ImageMagick
--> Processing Dependency: libXext.so.6 for package: ImageMagick
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for xorg-x11-libs to pack into transaction set.
xorg-x11-libs-6.8.2-1.EL. 100% |=========================| 287 kB    00:01
---> Package xorg-x11-libs.i386 0:6.8.2-1.EL.13.37 set to be updated
--> Running transaction check
--> Processing Dependency: libfontconfig.so.1 for package: xorg-x11-libs
--> Processing Dependency: libGL.so.1 for package: xorg-x11-libs
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for fontconfig to pack into transaction set.
fontconfig-2.2.3-7.centos 100% |=========================|  11 kB    00:00
---> Package fontconfig.i386 0:2.2.3-7.centos4 set to be updated
---> Downloading header for xorg-x11-Mesa-libGL to pack into transaction set.
xorg-x11-Mesa-libGL-6.8.2 100% |=========================| 254 kB    00:01
---> Package xorg-x11-Mesa-libGL.i386 0:6.8.2-1.EL.13.37 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 ImageMagick             i386       6.0.7.1-14       base              2.4 M
Installing for dependencies:
 fontconfig              i386       2.2.3-7.centos4  smeos             117 k
 xorg-x11-Mesa-libGL     i386       6.8.2-1.EL.13.37  base              378 k
 xorg-x11-libs           i386       6.8.2-1.EL.13.37  base              2.7 M

Transaction Summary
=============================================================================
Install      4 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 5.5 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): ImageMagick-6.0.7. 100% |=========================| 2.4 MB    00:10
(2/4): fontconfig-2.2.3-7 100% |=========================| 117 kB    00:00
(3/4): xorg-x11-Mesa-libG 100% |=========================| 378 kB    00:01
(4/4): xorg-x11-libs-6.8. 100% |=========================| 2.7 MB    00:11
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
smeserver trap pre-install: ImageMagick
smeserver trap pre-install: fontconfig
smeserver trap pre-install: xorg-x11-Mesa-libGL
smeserver trap pre-install: xorg-x11-libs
  Installing: fontconfig                   ######################### [1/4]
  Installing: xorg-x11-libs                ######################### [2/4]
  Installing: ImageMagick                  ######################### [3/4]
  Installing: xorg-x11-Mesa-libGL          ######################### [4/4]
Migrating existing database yum_available
Migrating existing database networks
Migrating existing database yum_repositories
Migrating existing database yum_updates
Migrating existing database domains
Migrating existing database yum_installed
Migrating existing database spamassassin
Migrating existing database dar2
Migrating existing database mailpatterns
Migrating existing database backups
Migrating existing database configuration
Migrating existing database hosts
Migrating existing database accounts
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 12.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 23.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 28.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 29.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 32.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 33.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 76.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 87.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 92.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 93.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 96.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 97.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 140.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 151.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 156.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 157.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 160.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 161.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 205.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 216.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 221.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 222.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 225.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 226.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 270.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 281.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 286.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 287.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 290.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 291.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 334.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 345.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 350.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 351.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 354.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 355.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 399.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 410.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 415.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 416.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 419.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 420.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm l                             ine 474.
Use of uninitialized value in print at /usr/lib/perl5/site_perl/CGI/FormMagick/Setup.pm line 179.
smeserver trap post-install: ImageMagick
smeserver trap post-install: fontconfig
smeserver trap post-install: xorg-x11-Mesa-libGL
smeserver trap post-install: xorg-x11-libs

Installed: ImageMagick.i386 0:6.0.7.1-14
Dependency Installed: fontconfig.i386 0:2.2.3-7.centos4 xorg-x11-Mesa-libGL.i386 0:6.8.2-1.EL.13.37 xorg-x11-libs.i386 0:6.8.2-1                             .EL.13.37
Complete!
==============================================================
WARNING: You now need to run BOTH of the following commands
to ensure consistent system state:

signal-event post-upgrade; signal-event reboot

You should run these commands unless you are certain that
yum made no changes to your system.
==============================================================
[root@teri test]#


After running the two suggested commands I tried ImageMagick.
My Gallery2 stuff could usefully run with IM but when I tried to
shoehorn it towards IM its (G2's) tester algorithm reported:
Code: [Select]
ImageMagick binary test results
Binary Name Pass/Fail
identify
Passed
convert
Passed
composite
Passed
Version

ImageMagick 6.0.7

Warning: This version of ImageMagick has a known vulnerability that can be exploited to cause infinite loops. You may wish to upgrade. This determination may be inaccurate for Debian.
Use this version anyway
Supported MIME Types

The ImageMagick module can support files with the following MIME types:

image/gif
image/jpeg
image/pjpeg
image/png
image/tiff
image/svg+xml
image/bmp
application/photoshop
image/x-photo-cd
image/tga
image/jpeg-cmyk
image/tiff-cmyk


The bottom line seems to be SME7 appears to be installing a 'known' (?)
aged or cracked version and does so with wads of error lines reported.
Presumably I've done something wrong, I'd welcome a workaround
other than uninstalling and having to go back to using good old GD;~/
Title: Gallery2 install feedback
Post by: gpptsi on December 20, 2006, 05:04:00 PM
Maybe I'm doing something wrong but when i run

Code: [Select]
[root@teri test]# yum --enablerepo=base install ImageMagick
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================


It just sits there and does nothing. Just the above is displayed.
Is there a setup for yum that I'm missing, I know it was installed through the software install in controll pannel upon initiall setup.
Title: Gallery2 install feedback
Post by: cactus on December 20, 2006, 07:58:37 PM
Quote from: "piran"
Code: [Select]
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/site_perl/esmith/FormMagick.pm line 237, <LEXIN> line 12.
Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser/Expat.pm line 474.
Those errors are a known thing when installing contribs. I have noticed them every now and then as well, they are generated because of little bugs in configuration panels in contribs you installed. As long as server-manager is working properly I should not be to worried about it.
Quote from: "piran"
Code: [Select]
Installed: ImageMagick.i386 0:6.0.7.1-14
Dependency Installed: fontconfig.i386 0:2.2.3-7.centos4 xorg-x11-Mesa-libGL.i386 0:6.8.2-1.EL.13.37 xorg-x11-libs.i386 0:6.8.2-1                             .EL.13.37
Complete!
Above messages means install is succesfull.
Quote from: "piran"
After running the two suggested commands I tried ImageMagick.
My Gallery2 stuff could usefully run with IM but when I tried to
shoehorn it towards IM its (G2's) tester algorithm reported:
Code: [Select]
ImageMagick binary test results
Binary Name Pass/Fail
identify
Passed
convert
Passed
composite
Passed
Version

ImageMagick 6.0.7

Warning: This version of ImageMagick has a known vulnerability that can be exploited to cause infinite loops. You may wish to upgrade. This determination may be inaccurate for Debian.
Use this version anyway
Supported MIME Types

The ImageMagick module can support files with the following MIME types:

image/gif
image/jpeg
image/pjpeg
image/png
image/tiff
image/svg+xml
image/bmp
application/photoshop
image/x-photo-cd
image/tga
image/jpeg-cmyk
image/tiff-cmyk


The bottom line seems to be SME7 appears to be installing a 'known' (?)
aged or cracked version and does so with wads of error lines reported.
Presumably I've done something wrong, I'd welcome a workaround
other than uninstalling and having to go back to using good old GD;~/

There is nothing to worry as discussed in this thread (http://forums.contribs.org/index.php?topic=33671.0) already as smeos provides ImageMagick.i386 0:6.0.7.1-14 which has the fix for the error suggested by the gallery2 interface. You can safely use this version.
Title: Gallery2 install feedback
Post by: sad111 on December 21, 2006, 10:13:44 PM
How can I submit to the HOWTO'S?
Also glad to hear it works.
I thought about putting Imagemagic in but haven't got that far yet.
Title: Gallery2 install feedback
Post by: gpptsi on December 22, 2006, 05:34:11 PM
Not sure as I think that the Archived Wiki is not working.
Title: Gallery2 install feedback
Post by: svangool on December 24, 2006, 11:54:55 PM
Everything seems to work very well, good job!
The only thing I'm worried about is the security, the outside can see almost every file including the G2data directory (containing security information).
I think it would be more secure to put this in an I-bay in stead of the /opt directory and/or adjust httpd.conf accordingly with templating.

Thanks,  Sjef.
Title: Gallery2 install feedback
Post by: william_syd on December 25, 2006, 12:22:37 AM
Quote from: "svangool"
Everything seems to work very well, good job!
The only thing I'm worried about is the security, the outside can see almost every file including the G2data directory (containing security information).
I think it would be more secure to put this in an I-bay in stead of the /opt directory and/or adjust httpd.conf accordingly with templating.

Thanks,  Sjef.


There is a template..

Code: [Select]
#---------------------
# gallery
#---------------------

Alias /gallery  /opt/gallery

<Directory /opt/gallery>
    Options None
    Options +Indexes
    Options +Includes
    AllowOverride None
    order deny,allow
    deny from all
    allow from all
AddType application/x-httpd-php .php .php3 .phtml
php_admin_value open_basedir /opt/gallery:/home/e-smith/files/ibays:/tmp
</Directory>        


Options +Indexes ?
Title: Gallery2 install feedback
Post by: svangool on December 25, 2006, 09:21:58 PM
Good catch William !

Code: [Select]
pico /etc/e-smith/templates/etc/httpd/conf/httpd.conf/91gallery

Remove the Options +Indexes line

Code: [Select]
expand-template /etc/httpd/conf/httpd.conf
svc -t /service/httpd-e-smith


Fixed it, no directories visible anymore, thanks!

But I still find it a problem you have access to individual files from external. So if you know the structure of gallery2, you can still access them: e.g. you can read the configuration authentication file by "http://www.server.com/gallery/login.txt" or try "http://www.server.com/gallery/g2data/versions.dat" with the default setting of this contrib.

Doesn't feel good.

Sjef.
Title: Gallery2 install feedback
Post by: cactus on December 25, 2006, 09:40:04 PM
Quote from: "svangool"
Good catch William !

Code: [Select]
pico /etc/e-smith/templates/etc/httpd/conf/httpd.conf/91gallery

Remove the Options +Indexes line

Code: [Select]
expand-template /etc/httpd/conf/httpd.conf
svc -t /service/httpd-e-smith


Fixed it, no directories visible anymore, thanks!

But I still find it a problem you have access to individual files from external. So if you know the structure of gallery2, you can still access them: e.g. you can read the configuration authentication file by "http://www.server.com/gallery/login.txt" or try "http://www.server.com/gallery/g2data/versions.dat" with the default setting of this contrib.

Doesn't feel good.

Sjef.
That is a failure in your configuration. Your gallery2 data directory does not need to be visible from the web to display images. You should place the gallery2data somewhere where the user for which the httpd daemon is run (www) has access to it on the local file system of the web server but outside of the scope of the configuration entries (such as Aliasses) as set in httpd.conf.

I have installed gallery2 at my site as well but you cannot view my configuration data as this is not shared to users on the internet, as I placed the gallery2 data directory at the same level as the gallery2 program directory in the opt directory, and did not add it to the httpd.conf files.

The only section for my gallery2 installation (I installed it manually) in my httpd.conf file reads like this:
Code: [Select]
Alias /gallery2/ /opt/gallery2/
<Directory /opt/gallery2/>
    AddType application/x-httpd-php .php .php3 .phtml
    php_admin_value open_basedir /opt/gallery2/:/home/e-smith/files/ibays/Primary/html/
    Options None
    Options +Indexes
    Options +Includes
    AllowOverride None
    order deny,allow
    deny from all
    allow from all
</Directory>

I had to add the open_basedir section as i want to run multiple galleries (in this case from my Primary ibay as this holds my website) from the same source and did a installation of the sub set per gallery2 installer into the Primary ibay.

My gallery2 data is ocnfigured to be stored in the /opt/gallery2data directory which is not exposed to the web or any other user than the ones with console access.
Title: Thanks for the info.
Post by: sad111 on December 26, 2006, 07:46:31 PM
I Want to thank you, and everyone who has been giving their input.
I will fix the options +indexes.
I'm going to look into writing a script to fix the problems,
but the main script will be fixed.
Cactus can you give me you're input as to what directory and scheme
you would use? I.E for g2data.

Thanks.
Title: Re: Thanks for the info.
Post by: cactus on December 27, 2006, 07:04:07 PM
Quote from: "sad111"

Cactus can you give me you're input as to what directory and scheme
you would use? I.E for g2data.

Thanks.
Most of it is an earlier posts, but here it goes:

Gallery itself is installed in /opt/gallery2 which is shared to the internet using a custom template called 92gallery2 which I placed in the /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf directory, as I use this as code base for multiple galleries I have to add every directory for which I want to enable gallery2 to the open_basedir line as other wise PHP files can not be executed as SME Server isconfigured to allow execution of php scripts in its own tree only. The 92gallery2 fragment reads like this:
Code: [Select]
Alias /gallery2/ /opt/gallery2/
<Directory /opt/gallery2/>
    AddType application/x-httpd-php .php .php3 .phtml
    php_admin_value open_basedir /opt/gallery2/:/home/e-smith/files/ibays/Primary/html/
    Options None
    Options +Indexes
    Options +Includes
    AllowOverride None
    order deny,allow
    deny from all
    allow from all
</Directory>

If have succesfully implemented this fragment in your httpd.conf file and have restarted your webserver you should be able to access your gallery2 main code base at http://your-server-at-your-domain/gallery2 . If you access this location you are presented with the gallery2 installer. There you can choose to install gallery2 for multiple galleries (Installation step 3: Multisite installation, more information about this option can be found here: http://codex.gallery2.org/index.php/Gallery2:Multisite) and then specify your new location (I had to manually copy the required files because the webserver will try to put them there for you, but is restricted to do so by the configuration of the SME Server by default).

You will also have to configure the ibay (or other location) from which you will run gallery2 to allow execution of PHP code outside of its tree. In my case I added the following entries to the configuration database:
Code: [Select]
db accounts setprop Primary PHPBaseDir /home/e-smith/files/ibays/Primary/html/:/opt/gallery2/ In your case this will probably have to be adapted to suit your needs.
Title: Gallery2 install feedback
Post by: drfresh on December 29, 2006, 12:43:08 PM
Hmm - being very little familiar with linux and installing on SME, can someone tell me when this will be a how-to-for-dummies (like me  :oops: ), that is a how-to that takes care of the subjects raised in the posts? I'm really looking forward to be able to install gallery2 on my system - but I do not have the knowledge to deciffer all this and know exactly what to do and when to do it...

But great that someone is struggling on our behalf! Thanks!
Title: Fixed
Post by: sad111 on December 29, 2006, 06:28:44 PM
First I would like to thank cactus and all who helped with testing and input.
here is the links to the new files.
www.linux-one.org/gallery-final/gallery2-install-new.tar.gz
Also if you already have the script installed then just download these 2 files.
www.linux-one.org/gallery-final/install.sh
www.linux-one.org/gallery-final/fixit.sh
Just copy the last 2 files to you're gallery2-install folder and run sh install.sh

In response to drfresh this is as simple as it gets.
If you need any further help just let me know.

P.S the new storage folder is /opt/Gallery2data/gallery/g2data.
Gallery being what you chose during install.
Title: Re: Fixed
Post by: cactus on December 29, 2006, 09:37:02 PM
Quote from: "sad111"
First I would like to thank cactus and all who helped with testing and input.
here is the links to the new files.
www.linux-one.org/gallery-final/gallery2-install-new.tar.gz
Also if you already have the script installed then just download these 2 files.
www.linux-one.org/gallery-final/install.sh
www.linux-one.org/gallery-final/fixit.sh
Just copy the last 2 files to you're gallery2-install folder and run sh install.sh

In response to drfresh this is as simple as it gets.
If you need any further help just let me know.

P.S the new storage folder is /opt/Gallery2data/gallery/g2data.
Gallery being what you chose during install.
A few quick remarks...
Why don't you still use netpbm and not ImageMagick (which can be installed using yum from the base repository)? IMHO netpbm is a bit ancient and it will also save you a lot of effort providing all the neccesarry rpms if you use ImageMagick?

Maybe you could also use the script to download the gallery files from the net as well. It will save you a lot of maintenance I think.
Title: Gallery2 install feedback
Post by: drfresh on December 29, 2006, 10:42:06 PM
Thanks again - I'll try it out. Otherwise I'll PM you  :D
Title: Gallery2 install feedback
Post by: svangool on December 30, 2006, 08:14:57 AM
Works fine sad111, good job !

One little remark: adjust the default values in step 4 (still using old values) and if possible for step 5 (database) during install.
Title: Gallery2 install feedback
Post by: cactus on December 30, 2006, 10:25:52 AM
Quote from: "drfresh"
Otherwise I'll PM you  :D
That option seems available, but is disabled on this forum.
Title: One more thing
Post by: sad111 on December 30, 2006, 02:25:19 PM
I forgot to tell you if you use the fixit script.
You will have to edit config.php and adjust this line.
$gallery->setConfig('data.gallery.base', 'some/path');
(Replace 'some/path' with the correct value.)
The new storage will be /opt/Gallery2data/gallery/g2data.
Also I don't use imagemagic yet, I use netpbm.

Maybe you could also use the script to download the gallery files from the net as well. It will save you a lot of maintenance I think.

I like to have all the files in one location so that you don't get dead links.
Also then I know the files I have work.

svangool
Works fine sad111, good job !
One little remark: adjust the default values in step 4 (still using old values) and if possible for step 5 (database) during install.

Not sure what you mean are you referring to the script or the gallery installer? If the installer i'm not that good at modifying php code yet.
Title: Gallery2 install feedback
Post by: drfresh on December 30, 2006, 07:30:22 PM
Hmm - I'm really confused here:

I extracted the gallery2-install-new.tar.gz in my /tmp dir.

I ran the install script and chose option 1). It then got an error saying something about the install directory didn't excist

Then I moved to the created /gallery2-install/ dir and ran the script again. Then it worked so far.

Now I ran the gallery2 install from the webbrowser. First thing I noticed is that the script chooses /opt/gallery/g2data as the data dir. That dir wasn't created with your script (I thought it would be - but perhaps I'm wrong there). I created it, changed permissions and continued to the database.

The installation thinks the database name is gallery2, but I find that the database created with your script is "gallery". So I typed that in instead.

But apart from that it seems to have worked... Thanks!
Title: Gallery2 install feedback
Post by: sad111 on December 30, 2006, 11:14:48 PM
Quote from: "drfresh"
Hmm - I'm really confused here:

I extracted the gallery2-install-new.tar.gz in my /tmp dir.

I ran the install script and chose option 1). It then got an error saying something about the install directory didn't excist

Then I moved to the created /gallery2-install/ dir and ran the script again. Then it worked so far.

Now I ran the gallery2 install from the webbrowser. First thing I noticed is that the script chooses /opt/gallery/g2data as the data dir. That dir wasn't created with your script (I thought it would be - but perhaps I'm wrong there). I created it, changed permissions and continued to the database.

The installation thinks the database name is gallery2, but I find that the database created with your script is "gallery". So I typed that in instead.

But apart from that it seems to have worked... Thanks!


That is part of the gallery install.
when asked for the storage you are right,  but you can type in /opt/Gallery2data/gallery/g2data as this fixes the indexes problem.
Also the default as per the instaltion for the database is gallery2 just change that to whatever you named you're gallery to.
I would like to fix these problems but it's in the gallery setup and as I said i'm not that good with php. If anyone with php knowledge wants to help with that part i'd appreciate it.
Thanks.
Title: Gallery2 install feedback
Post by: drfresh on January 02, 2007, 03:52:36 PM
But why do you move all files from whereever I extracted them to /gallery2-install/ so that I have to run the script twise? And you don't explain that anywhere - isn't very helpfull...

You say install in: /opt/Gallery2data/gallery/g2data. But that dir wasn't created with your script either. I installed in the proposed /opt/gallery/g2data. Is that a problem? It's OK that you choose another dir so that I have to edit something in the gallery2 install. But I need to know that I should and also why that is.

And why don't you just create a db called gallery2 to comply with the gallery2 install? Why do I need to edit that in the install? It isn't explained anywhere...

But as I said - it seems to work now. Now I have to find some good looking styles for my gallery...

Thanks again
Title: Gallery2 install feedback
Post by: sad111 on January 02, 2007, 08:18:37 PM
Quote from: "drfresh"
But why do you move all files from whereever I extracted them to /gallery2-install/ so that I have to run the script twise? And you don't explain that anywhere - isn't very helpfull...

Sorry for the confusion, you are right I changed it to move the files
because if you run it from out side of gallery2-install part of the script
fails. Maybe I can look into something better for that.


You say install in: /opt/Gallery2data/gallery/g2data. But that dir wasn't created with your script either. I installed in the proposed /opt/gallery/g2data. Is that a problem? It's OK that you choose another dir so that I have to edit something in the gallery2 install. But I need to know that I should and also why that is.

First let me ask you if you do a ls of /opt do you have a /Gallery2data?
if Yes then in /opt/Gallery2data do you have /gallery/g2data? should be an empty folder.
If yes then thats good, if not then it didn't work as expected.
As to why i chose this was per cactus input, I'm trying to make as secure as possible. Also let me help you the Gallery2data is not the installation folder but rather the storage for you're albums and pictures. the install will still be in /opt/gallery.


And why don't you just create a db called gallery2 to comply with the gallery2 install? Why do I need to edit that in the install? It isn't explained anywhere...

Ok now I hope this helps but I setup the script so 1 you could have you're gallery be called whatever you want. I.E myvacation, work , or home or whatever. 2 Then you wouldn't have to remember the database that belongs with what. 3 I have taken great care to make it so you could not mess up an existing gallery.

But as I said - it seems to work now. Now I have to find some good looking styles for my gallery...

Thanks again


Again sorry for the confusion.
Quote
Title: Gallery2 install feedback
Post by: Ryan483 on January 11, 2007, 12:16:23 AM
Anyone got ffmpeg or mplayer to work inside g2? On SME of course :)

I have g2 running on my site, installing from source is pretty easy too.
Title: Gallery2 install feedback
Post by: christian on January 11, 2007, 01:02:43 AM
I have ffmpeg installed and ImageMagick. ffmpeg was a little challenging because you'll need to yum it off a 3rd party site; it's not in the base.

A search in this forum will get you the site. how to add 3rd party yum sites is in the wiki.
Title: Gallery2 install feedback
Post by: Ryan483 on January 11, 2007, 01:06:53 AM
Thanks.
Title: Gallery2 install feedback
Post by: wifinetguy on March 16, 2007, 02:19:33 PM
I know this isn't supposed to be this hard. But I'm being bone-headed, I guess. Anyway, I get to the database connection screen (step 5, I think) and it can't connect. I don't have the db password as SME generates a random password. So how do I connect to my db so I can continue on with  the setup?

Thanks...very frustrated.
Title: Gallery2 install feedback
Post by: william_syd on March 16, 2007, 02:36:58 PM
I find the installation of phpmyadmin very helpful in these situations.

There is a contrib by MasterSleepy. Do a search on the forums and you will find it.

Use phpmyadmin to create a new user which has most privileges on a table of the same name (little iffy but works). Then use those details in whatever web app your installing.

Other alternative is to use the mysql client. Same idea, new user and new table. The mysql site has good documentation.
Title: Gallery2 install feedback
Post by: cactus on March 16, 2007, 02:50:23 PM
Quote from: "wifinetguy"
I know this isn't supposed to be this hard. But I'm being bone-headed, I guess. Anyway, I get to the database connection screen (step 5, I think) and it can't connect. I don't have the db password as SME generates a random password. So how do I connect to my db so I can continue on with  the setup?

Thanks...very frustrated.
Login using the terminal or SSH as root and issue the following command:
Code: [Select]
mysqlThis will open mysql as local root user.

Now think of the following:You will have to replace the databasename, username and password values with the ones you have thought of and these values will also have to be entered in the gallery installation screen, most of this can also be found in the user manual and the gallery manual.

Now we can create a database:
Code: [Select]
create database databasename;
and add a user for this database:
Code: [Select]
grant all privileges on databasename to username@localhost identified by 'password';
To be sure all changes will be applied issue the following command:
Code: [Select]
flush privileges;Now we can quit mysql:
Code: [Select]
quit;This could also have been found in the Technicians Manual in the MySQL administration section (http://wiki.contribs.org/SME_Server:Documentation:Technical_Manual:Chapter4#MySQL_Database).
Title: Gallery2 install feedback
Post by: wifinetguy on March 16, 2007, 03:04:21 PM
Thank you both for your replies. I see now that I could have done this through the command line interface. However, I didn't even think of that as I was only thinking about getting the correct info on the setup screen, and not thinking "outside". Sorry for the post that should have been fixed without asking the forum.
Title: Gallery2 install feedback
Post by: mstrangers on March 22, 2007, 12:17:29 AM
this is my 92gallery2 template created with the gallery security guide
no file browsing allowed

Code: [Select]

Alias /gallery2/ /opt/gallery2/
<Directory /opt/gallery2/>
    AddType application/x-httpd-php .php .php3 .phtml
    php_admin_value open_basedir /opt/gallery2/:/home/e-smith/files/ibays/Primary/html/
    Options None
#    Options +Indexes
    Options +Includes
    AllowOverride None
    order deny,allow
    deny from all
    allow from all
<Files ~ "\.(inc|class)$">
   Deny from all
</Files>
</Directory>