Switch to DuckDuckGo Search
   November 6, 2012  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | >

Toggle Join/Part | bottom
[00:00:01] *** fisted has quit IRC
[00:00:59] *** fisted has joined #opensolaris
[00:11:01] *** chris64 has quit IRC
[00:16:51] *** TomJ has quit IRC
[00:34:20] *** ingenthr1 has joined #opensolaris
[00:34:20] *** ingenthr has quit IRC
[00:59:59] *** TomJ has joined #opensolaris
[00:59:59] *** TomJ has joined #opensolaris
[01:18:11] *** Mdx4 has quit IRC
[02:35:07] *** dreamz__ has joined #opensolaris
[02:37:22] *** photon_chac has quit IRC
[02:42:37] *** photon_chac has joined #opensolaris
[03:03:36] *** TomJ has quit IRC
[03:35:04] *** ericzhang has joined #opensolaris
[03:35:48] *** jacobs has quit IRC
[03:36:05] *** jacobs has joined #opensolaris
[03:54:41] *** CosmicDJ has joined #opensolaris
[03:57:54] *** CosmicDJ_ has quit IRC
[03:58:06] *** nikolam has quit IRC
[04:18:51] *** jceajcea has quit IRC
[04:32:48] *** irker143 has joined #opensolaris
[04:32:48] <irker143> spec-files-extra [5044] loganbruns SFEthrift-gpp.spec: initial spec.
[05:12:41] <irker143> spec-files-extra [5045] loganbruns SFEasterisk.spec: bump to 1.8.17.0
[05:45:52] *** timsf has quit IRC
[07:13:20] *** ericzhang has quit IRC
[07:29:33] *** DerSaidin has quit IRC
[07:29:50] *** DerSaidin has joined #opensolaris
[07:29:50] *** DerSaidin has joined #opensolaris
[07:30:39] *** p3n has joined #opensolaris
[07:40:38] *** pjd-_ has joined #opensolaris
[07:41:48] *** pjd- has quit IRC
[07:46:16] *** Sachiru has joined #opensolaris
[08:12:41] *** irker143 has quit IRC
[08:24:14] *** dubf has joined #opensolaris
[09:12:25] *** Dagobert has joined #opensolaris
[09:17:07] *** reddi has quit IRC
[09:35:05] *** W0rmDrink has joined #opensolaris
[09:52:17] *** spanglywires has joined #opensolaris
[10:31:57] *** tsoome has quit IRC
[10:42:47] *** rafter has joined #opensolaris
[10:49:59] *** rafter has quit IRC
[10:58:18] *** tsoome has joined #opensolaris
[10:58:39] *** tsoome_ has joined #opensolaris
[11:02:37] *** tsoome has quit IRC
[11:02:37] *** tsoome_ is now known as tsoome
[11:19:55] *** p3n has quit IRC
[11:27:00] *** Sachiru_AFK has joined #opensolaris
[11:28:49] *** p3n has joined #opensolaris
[12:00:00] *** fisted has quit IRC
[12:01:10] *** fisted has joined #opensolaris
[12:06:16] *** heldchen has quit IRC
[12:40:57] *** heldchen has joined #opensolaris
[12:58:35] *** rafter has joined #opensolaris
[13:00:20] *** W0rmDrink has quit IRC
[13:18:27] *** p3n has quit IRC
[13:52:24] *** wereHamster has joined #opensolaris
[13:52:40] *** wereHamster has quit IRC
[13:52:40] *** wereHamster has joined #opensolaris
[13:53:40] *** heldchen has quit IRC
[14:00:56] *** heldchen has joined #opensolaris
[14:03:33] *** reddi has joined #opensolaris
[14:16:48] *** rafter has quit IRC
[14:21:07] *** rafter has joined #opensolaris
[14:28:48] *** dijit has quit IRC
[15:07:23] <SuitCase> is anyone able to help me install pslib (postscript lib) on my poor new server? i got some help a couple months ago from Berny_, tsoome and lblume and i was really appreciative of it. it's the same old issue i'm having where i seemingly need to tweak the configure file in order to point it to pnglib (so that pslib can compile with png support.)
[15:07:58] <tsoome> you need -R linker flag
[15:08:22] <SuitCase> to start i'm looking at the previous chat log where i was told to change a reference in configure from "lpng" to "lpng14", but after typing locate lpng i can see this newer system has.. lpng15??
[15:08:40] <lewellyn> that's feasible. software gets updated
[15:08:51] <tsoome> aye, that may be the case as well, depending on your library names, yes
[15:08:58] <SuitCase> tsoome: well, i've started with a vanilla pslib-0.4.5.tar.gz and i'm looking at the old files to see what i changed. are you implying i could pull it all off with a single command line?
[15:09:56] <tsoome> maybe, but thats always case by case:)
[15:10:37] <SuitCase> http://img.soaringrabbit.com/configurecompare.png take a look at this. on the left is the default configure file, on the right is the one i modified as a result of my last chat in here.
[15:11:02] <SuitCase> and: [root@54ebd0db-4fe8-4c0a-87b4-d21d8cdd788d ~]# locate pnglib
[15:11:10] <SuitCase> /opt/local/include/libpng15/pnglibconf.h
[15:11:10] <SuitCase> /opt/local/include/pnglibconf.h
[15:11:34] <SuitCase> so should i just.. change that configure file to say "15" not "14", first? is there some other way to know whether a modification is needed at all
[15:12:06] <SuitCase> i don't understand how libraries work, beyond the idea that there are some paths set and the system looks for them. i assume pnglibconf.h is one of them? it looks like i have both a versioned and plain one
[15:12:43] <tsoome> .h files are for compiler only
[15:12:51] <SuitCase> oh yeah i see now
[15:13:05] <SuitCase> am i looking for the .so file? is that the library?
[15:13:06] <tsoome> linker will only care about .o and .so.*
[15:13:14] <tsoome> yep
[15:13:24] <SuitCase> what does .so mean, btw? is it like .dll on windows
[15:13:37] <tsoome> yes, shared object
[15:13:52] <SuitCase> /opt/local/lib/libpng14.so on the old server. /opt/local/lib/libpng15.so on the new server.
[15:14:48] <tsoome> so you need -L/opt/local/lib -R/opt/local/lib -l png15
[15:15:28] <tsoome> oh, extra space after -l tho:P
[15:16:04] <tsoome> still suggest to read http://docs.oracle.com/cd/E19253-01/817-1984/ its really "must have read" doc for software developer
[15:17:53] <SuitCase> oh i see. this is some of the stuff i was doing last time
[15:17:55] <SuitCase> ldd etc
[15:18:47] <tsoome> yep. -L for link time directory to find library, -R for run tine path and -l to name the library itself.
[15:19:04] <tsoome> s/tine/time/
[15:20:49] <SuitCase> is it necessary to remove a previously compiled pslib if i messed up before? because i have indeed already tried to do this and failed, it just compiled sans png support
[15:20:52] <tsoome> also note the -lpng15 means for linker that it will look for libpng15.so, the actual full name will be recorded - normally you see library names like libpng15.so.1 or similar
[15:21:31] *** gwr has quit IRC
[15:21:41] <SuitCase> http://pastebin.com/V5ni3AYb here's my bash history from last time - the last time i played with pslib, so i assume this is the point where i got it working.
[15:22:14] <SuitCase> this kinda shows how confused i got
[15:23:50] <tsoome> well, with configure it can be complicated
[15:24:53] <tsoome> you can "drive" it by setting CFLAGS CPPFLAGS and LDFLAGS either in env or on command line, but also in most cases it has switches like --with-png-include
[15:25:34] <SuitCase> so what do you recommend i type, now that i've saved those changes (adding 15 to libpng) to the configure file? do i go to the pslib-0.4.5 directory and type ./configure first, using the parameters you specified above? the FLAGS won't be necessary will they
[15:25:47] <tsoome> in general, i have used those --with-* switches if needed, but sometimes those *FLAGS variables are ok as well.
[15:26:31] <tsoome> if the package is large and will use many different other components, the global *FLAGS variables may screw things up
[15:27:23] *** Sachiru has quit IRC
[15:27:42] <tsoome> its normally good practice to run ./configure --help first, to see what switches it supports for components and then decide how to proceed.
[15:32:29] <SuitCase> ok, i checked it out and ended up running ./configure. is the next step "make clean; make", then "make install"?
[15:32:49] *** Dagobert has quit IRC
[15:35:53] *** W0rmDrink has joined #opensolaris
[15:35:54] *** W0rmDrink has joined #opensolaris
[15:44:26] *** jceajcea has joined #opensolaris
[15:46:07] <SuitCase> tsoome: is that right?
[15:46:44] <tsoome> on first run just make ; make install
[15:47:30] <tsoome> if you will find the config wasn't ok, you wanna run make clean before running configure again
[15:50:18] <SuitCase> make clean will reset everything back to how it was before i typed ./configure the first time
[15:50:19] <SuitCase> *?
[15:51:17] <tsoome> it wont remove config.log and cache, i think, but will clean up the .o and linked files, yes
[15:53:32] <SuitCase> i learn new things every day
[15:54:13] <SuitCase> well it seemed to work. should i just reboot the server and see if i can use png files now?
[15:57:07] <tsoome> this is the same apache setup?
[15:57:49] <SuitCase> new server, same configuration (an apache-hosted php script is using the pecl ps extension to generate a postscript file via pslib)
[15:58:10] <SuitCase> i figure a server reboot is more thorough than just restarting apache, even if it's the only necessary step.
[15:58:41] <tsoome> just restarting apache (svcadm restart http:apache2 or whatever your service name is) will do:D
[16:00:23] <SuitCase> alright, time for testing
[16:00:44] *** dijit has joined #opensolaris
[16:01:52] <SuitCase> btw, while i have your attention, http://support.crashplan.com/doku.php/getting_started/installing_crashplan is another small problem i'm having. (scroll down to opensolaris) the instructions are dependent on pkgadd, but since this is a joyent smartmachine it doesn't have pkgadd. what should my approach be? could i potentially "manually" install the .tar.gz without the help of pkgadd
[16:07:38] <lewellyn> do you have pkgtrans?
[16:07:44] <lewellyn> smrt: explain svr4 packaging
[16:07:44] <smrt> Um. I seem to not know anything about svr4 packaging...
[16:07:47] <lewellyn> smrt: explain svr4
[16:07:48] <smrt> Um. I seem to not know anything about svr4...
[16:07:52] <lewellyn> smrt: explain svr4 packages
[16:07:52] <smrt> SVR4 packages are in the "old" Solaris package format. They are still supported just fine in OpenSolaris, but Indiana introduces the new pkg(5)/IPS packaging system. They are the best way to create a package for distribution to downlevel Solaris, Nevada, and also Indiana users. For information on creating SVR4 packages, visit http://www.eek.org/docs/spdoc.html or ask Google for more specifics. (See also: pkg* commands)
[16:07:58] <lewellyn> smrt: explain pkg* commands
[16:07:58] <smrt> The SVR4 package management commands are as follows: pkgadd - transfer software packages to the system; pkgchk - check package installation accuracy; pkginfo - display software package information; pkgrm - remove a package from the system; pkgtrans - translate package format. You will probably use pkgadd and pkgrm the most. Use the manpages for more information. (See also: lesser-used pkg* commands, svr4 packages)
[16:08:17] *** dijit has quit IRC
[16:08:37] <lewellyn> SuitCase: if you don't have pkgtrans nor pkgadd, you might want to contact joyent for further instruction.
[16:08:53] <SuitCase> they blew me off and told me to contact crashplan :S
[16:09:28] <lewellyn> that's not a proper response to the generic question of "how do i install software packaged for solaris?" :/
[16:09:36] <lewellyn> don't they have an irc channel here on freenode?
[16:09:40] <SuitCase> they do yes
[16:09:44] <SuitCase> i can ask there.
[16:09:49] <lewellyn> surely someone there would know better :)
[16:09:57] <SuitCase> also, :(
[16:09:57] <SuitCase> [Tue Nov 06 15:08:03 2012] [error] [client 173.0.81.1] PHP Fatal error: ps_open_image_file() [<a href='function.ps-open-image-file'>function.ps-open-image-file</a>]: PSlib error: Images of type 'png' not supported. in /home/bittersweetcandybowl.com/web/public/store/ipn/ipn_handler.php on line 976
[16:11:00] <SuitCase> earlier i asked 01:20am <SuitCase> is it necessary to remove a previously compiled pslib if i messed up before? because i have indeed already tried to do this and failed, it just compiled sans png support
[16:11:00] <SuitCase> this is now a pertinent concern
[16:11:27] <SuitCase> because i plan on a make clean and a tweak to the ./configure parameters (i think i messed one up)
[16:11:39] <lewellyn> SuitCase: check the timestamp. if it's the same time as the newer build, no. :)
[16:12:01] <lewellyn> i suspect few here can really give specifics about pslib
[16:13:36] <SuitCase> lewellyn: what you're saying is that each.. "package"? (whatever you call a .tgz file that you do make install stuff to) may or may not remove its old files if they are in the way at installation time, and that you can't speak for whether pslib's installer does that?
[16:13:44] <tsoome> double check your binaries and libs with ldd and see if all libs have correct paths recorded
[16:14:36] <lewellyn> SuitCase: there is no standard installation procedure for things built from source.
[16:14:58] <lewellyn> the user facing command tends to be "make install", but there's no guarantee as to what exactly that does
[16:16:10] *** dijit has joined #opensolaris
[16:21:58] *** jamesd has joined #opensolaris
[16:21:59] *** ChanServ sets mode: +o jamesd
[16:29:00] <SuitCase> tsoome: ./configure rejects the -K and -R and -l you suggested above, fwiw
[16:29:13] <SuitCase> the only thing i see of note when typing --help is "--with-png=DIR Path to png library (/usr)"
[16:29:50] *** iceq has joined #opensolaris
[16:30:18] <SuitCase> and so i guess i want to run ./configure --with-png=/opt/local/lib/ given that libpng15.so is in that dir
[16:32:46] *** gwr has joined #opensolaris
[16:33:31] <tsoome> yes indeed you cant add those -L -R- l directly to configure command line, thats why you have --with-* opttions and/or *FLAGS variables
[16:33:55] *** gwr has quit IRC
[16:34:51] <SuitCase> oh i'm sorry i must have constructed it badly then
[16:36:36] <SuitCase> how do you recommend i do it? typing the lines 6 and 7 from http://pastebin.com/V5ni3AYb ?
[16:36:49] *** gwr has joined #opensolaris
[16:37:10] *** yippi has joined #opensolaris
[16:46:31] *** tsoome_ has joined #opensolaris
[16:49:18] *** tsoome has quit IRC
[16:59:25] *** merzo has joined #opensolaris
[17:08:00] *** dijit has quit IRC
[17:08:25] *** scarcry has quit IRC
[17:08:37] *** tommy_e has joined #opensolaris
[17:13:47] *** dijit has joined #opensolaris
[17:37:06] *** tommy_e has quit IRC
[17:37:26] *** dijit has quit IRC
[17:38:10] *** dijit has joined #opensolaris
[17:40:36] *** merzo has quit IRC
[17:43:04] *** merzo has joined #opensolaris
[17:43:54] *** tsoome has joined #opensolaris
[17:45:03] *** W0rmDrink has quit IRC
[17:45:14] *** jthunder has joined #opensolaris
[17:45:25] *** ingenthr1 has quit IRC
[17:48:45] *** ingenthr has joined #opensolaris
[17:51:56] *** merzo has quit IRC
[18:18:01] *** fisted has quit IRC
[18:20:56] * SuitCase shakes tsoome
[18:21:13] <tsoome> wot?:P
[18:22:01] <SuitCase> i cannot figure out how to run ./configure for my libps. i tried the export CFLAGS and export LDFLAGs lines, it didn't work. i tried ./configure --prefix=/opt/local, it ended up installing to /opt/local.
[18:22:19] <SuitCase> each time it makes the .so file but ldd indicates it doesn't have connections to any image libraries.
[18:22:25] <SuitCase> so it's useless. i need it to support png
[18:23:20] <tsoome> check what its telling about png support itself
[18:23:57] <SuitCase> where?
[18:24:07] <tsoome> configure --help
[18:24:53] *** seanmcg has quit IRC
[18:24:56] <SuitCase> http://pastebin.com/XZ57epv5
[18:25:03] <SuitCase> line 87 is the only one that mentions png
[18:25:14] *** seanmcg has joined #opensolaris
[18:25:29] <SuitCase> i did try /configure --with-png=/opt/local/lib/ given that libpng15.so is in /opt/local/lib
[18:25:40] <SuitCase> but that didn't generate a .so that supported png
[18:29:45] <tsoome> well, the thing is that configure is expecting libpng.so, not libpng15.so
[18:30:45] <seanmcg> is there not a symlink in /opt/local/lib from libpng15.so to libpng.so ? (should be)
[18:31:06] <tsoome> and, you need to use --with-png=/opt/local, it will add /lib and /include by itself
[18:31:34] <SuitCase> ok
[18:31:52] <tsoome> and ye, welcome to the wonderful (insane) world of the free software;)
[18:32:38] <SuitCase> they should replace all this with the mac app store and a "PURCHASE $1.99" button
[18:34:13] <tsoome> well, thank god they never get into appstore;)
[18:36:57] *** Mdx4 has joined #opensolaris
[18:37:29] <tsoome> hm
[18:37:48] <tsoome> s11 does have libpng installed, is OI missing it?
[18:38:47] <tsoome> try pkg install libpng
[18:40:26] *** heldchen has quit IRC
[18:44:24] <tsoome> you should get 2 thing from it - your missing links and configure will find the needed files, and since its installed into /usr/lib, the missing -R in configure wont be the issue
[18:44:54] *** merzo has joined #opensolaris
[18:48:28] *** smrt has quit IRC
[18:48:43] *** smrt has joined #opensolaris
[18:55:43] *** theandromedan has joined #opensolaris
[18:59:23] *** theandromedan has quit IRC
[18:59:29] *** rafter has quit IRC
[19:00:16] *** theandromedan has joined #opensolaris
[19:01:18] <SuitCase> tsoome: it works!!
[19:01:23] <SuitCase> i think i needed to add the symlink
[19:03:22] *** jacotton has quit IRC
[19:03:39] *** jacotton has joined #opensolaris
[19:04:22] *** elixey has joined #opensolaris
[19:07:51] *** theandromedan has quit IRC
[19:08:20] *** theandromedan has joined #opensolaris
[19:09:43] *** theandromedan has quit IRC
[19:10:20] *** fisted has joined #opensolaris
[19:10:54] *** theandromedan has joined #opensolaris
[19:15:04] *** fOB has joined #opensolaris
[19:18:33] *** SuitCase has quit IRC
[19:26:59] *** spanglywires has quit IRC
[19:28:36] *** spanglywires has joined #opensolaris
[19:28:42] *** spanglywires has left #opensolaris
[19:37:51] *** theandromedan has quit IRC
[19:38:56] *** theandromedan has joined #opensolaris
[19:43:36] *** Dagobert has joined #opensolaris
[19:45:05] *** jthunder has quit IRC
[19:45:32] *** nikolam has joined #opensolaris
[19:48:23] *** theandromedan has quit IRC
[19:50:56] *** theandromedan has joined #opensolaris
[19:55:03] *** nikolam has quit IRC
[19:58:19] *** heldchen has joined #opensolaris
[20:01:57] *** theandromedan has quit IRC
[20:23:09] *** tommy_e has joined #opensolaris
[20:38:02] *** Dagobert has quit IRC
[20:48:14] *** jthunder has joined #opensolaris
[20:57:03] *** fisted has quit IRC
[20:59:05] *** jfisc has quit IRC
[20:59:05] *** timsf has joined #opensolaris
[20:59:10] *** nikolam has joined #opensolaris
[21:04:16] *** jfisc has joined #opensolaris
[21:15:36] *** gwr has quit IRC
[21:18:19] *** spanglywires has joined #opensolaris
[21:22:23] *** spanglywires has quit IRC
[22:22:48] *** gwr has joined #opensolaris
[22:35:55] *** tommy_e has quit IRC
[22:39:32] *** fisted has joined #opensolaris
[22:50:33] *** pizdec has quit IRC
[23:02:55] *** Mdx4 has quit IRC
[23:07:13] *** Berny_ has quit IRC
[23:08:48] *** yippi has quit IRC
[23:10:56] *** Berny_ has joined #opensolaris
[23:33:08] *** ingenthr has quit IRC
[23:38:07] *** jthunder has quit IRC
[23:38:35] *** ewdafa has quit IRC
[23:43:02] *** ewdafa has joined #opensolaris
[23:46:14] *** dijenerate has quit IRC
[23:49:31] *** dijenerate has joined #opensolaris
[23:55:09] *** Tpenta has quit IRC
[23:55:35] *** alanc has quit IRC
[23:56:07] *** Tpenta has joined #opensolaris
top

   November 6, 2012  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | >