Thanks
Wed, 2007-05-16 17:35 | by Erin
So when I went home allot of people were there.
My friends Don, Cory, Kevin and Jason thanks guys for the beers and your time.
My relatives for putting coming a lot of long distances to say hi. For staying up and drinking with me listening to all of my B.S.
Finally Thanks Mary for being so cool when we hung out in FL and helping me with Eric.
Dad for taking care of everything. Really even my plane ticket that was huge. Thanks
Lastly Patrick for putting up with me. I think lots of dumb things. Patrick is the only person I say them ALL to.
NEXT POST.... HAPPY SHINNY THINGS!!!!
I promise....
Here and There
Wed, 2007-05-16 17:19 | by Erin
I went home last month with Eric cause my mom was in bad condition. She died about a week later and I went back home for the funeral.
I haven't really written anything about it just cause.... to busy or whatever.
But I took this picture on the way back to Japan. It is important because,when I took it I said "... man mom will think this is a cool photo with the blue to black of ........"
YA that is when I realized that I could not show her. Through the whole thing going to Florida the first time with Eric and seeing her in the hospital, to coming back for the funeral. All through out that whole 5 days it still did not sink in.... though all of the talking, hugs and crying from relatives. The beer and whiskey. Staying up late waking up early. Seeing her at the wake and Father Enrique's wonderful sermon it just did not sink in, till somewhere over the Barring Sea 12 katrilion feet off the earth and away from home. I realized.
IMAGES and JPEG on SOLARIS10
Wed, 2007-05-16 15:40 | by Erin
I use drupal for my blog/website the reason being is it has a unending selection of add ons and api's. Finally one day I decided to add some stuff on.....
I wanted a easier way to add images. I went to add in the module and all was well. But things were not so well... as soon as I tried to add a imagine. The image was added but the thumbnail was not.
Hmmm lets check and see whats going on.
#ldd /usr/apache2/modules/libphp5.so
libpng12.so.0 => /usr/local/lib/libpng12.so.0
libz.so => /usr/local/lib/libz.so
libjpeg.so.62 => /usr/local/lib/libjpeg.so.62
libresolv.so.2 => /lib/libresolv.so.2
libm.so.2 => /lib/libm.so.2
libnsl.so.1 => /lib/libnsl.so.1
libsocket.so.1 => /lib/libsocket.so.1
libxml2.so.2 => /usr/local/lib/libxml2.so.2
libiconv.so.2 => /usr/local/lib/libiconv.so.2
libc.so.1 => /lib/libc.so.1
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
libmp.so.2 => /lib/libmp.so.2
libmd.so.1 => /lib/libmd.so.1
libscf.so.1 => /lib/libscf.so.1
libpthread.so.1 => /usr/lib/libpthread.so.1
libuutil.so.1 => /lib/libuutil.so.1
Hmm that looks ok you see the libjpeg in there.
Then I looked at my initial configuration of PHP.
./configure --prefix=/usr/php --with-apxs2=/usr/apache2/bin/apxs --with-openssl --with-mysql=/usr/bin/mysql --with-gettext --enable-mbstring --with-gd --with-zlib-dir=/usr/include/zlib.h --with-jpeg-dir=/usr/local/
Thats where everything should be I think.... I do a couple of recompiles with some other options when I checked my test php.
Under GD
NO JPG Support enabled
HUH? I have all of the packages. I compiled with it GD and JPEG. WTF!
#pkginfo | grep jpeg
application SMCjpeg jpeg
GNOME2 SUNWjpg jpeg - The Independent JPEG Groups JPEG software
GNOME2 SUNWjpg-devel jpeg - The Independent JPEG Groups JPEG software - development files
GNOME2 SUNWjpg-devel-share jpeg - The Independent JPEG Groups JPEG software - development files - /usr/share
Hmm everything looks ok.
I checked out sunfreeware.com and the GD package says it needs this stuff.
GD Graphics Library - An ANSI C library for the dynamic creation of images. GD creates PNG and JPEG images, among other formats - installs in /usr/local. The gd package requires the following library files - libXpm.so.4.11 from xpm, libfreetype.so.6 from freetype, libfontconfig.so.1 from fonctconfig, libgcc_s.so.1 from libgcc-3.3 or from gcc-3.3.2, libiconv.so.2 from libiconv, libpng12.so.0 from libpng, libz.so from zlib, libexpat.so.0 from expat, and libjpeg.so.62 from the jpeg package.
Well I got all that stuff its in there (I wont bore you with the details).
But then I realize/am informed that PHP is compiled with its own GD....
So I started re-compiling finally after a couple of make and make distclean's and with a little help from a friend I got it right.
How about this:
'./configure' '--with-apxs2=/usr/apache2/bin/apxs' '--with-config-file-path=/etc/apache2' '--enable-mbstring' '--with-mysql=/usr/local/mysql/' '--with-gd' '--with-jpeg-dir=/usr' '--with-zlib-dir=/usr'
YEP that did
But what I didn't see was '--with-jpeg-dir=/usr' '--with-zlib-dir=/usr' as apposed to --with-zlib-dir=/usr/include/zlib.h --with-jpeg-dir=/usr/local/ Which was apparently the key to my GD compilation...
STRUGGLING
Fri, 2007-05-11 15:12 | by Erin
I have been struggling a little to come up with some stuff to post.
Spring has been poping up all around and summer will be here soon. My life has changed quite a bit recently.
I moved into a new place with my wife and my son.
I went to America twice last month.
My mom passed away.
I am having trouble with my son.
And it feels recently like I am tired ALL THE DAMM TIME.
My knees hurt from ridding my bike with my kid on it and I have had a headache for about 6 or 7 days now.
Could I just be getting old.
Or more then likely I should just stop whining like a little girl and get back to work.
I got some posts coming up so maybe I should get to them.....