HooRay... Beginner/Clueless at work lazarus / 1-Linux ---------------------------------------------------------------------- SlackBrane · 2008-09-05 18:21 OK, being numbnutz I downloaded the source file, unpacked it and then did 'make clean install'. Naturally, not a lot happened. Then I trogged off about the place and, being organized, forgot whatever but went on a hunt for GTK1 and the devel thing coz it said so in the INSTALL thingy... I have not got a basic clue but I do have time. Being clueless and thrashing about until I gain some idea I keep on being bothered about leaving dross about my Slack 12.1 install and, whenever I fail to get something working, I scrub it, reinstall it and start from scratch. However... after the GTK1 stuff I ended up with perm any 24 from 32 and it turns out that, whilst everyone appears to be having an argument about what sort of GTK they need to use, what I should have done is download the 'big' file from FreePascal before trying to put Lazarus in there because it comes with, some of, the bitz required. Now, colour me miserable/stupid but it might have saved me a bit of grief, as I say time is not the problem, if I had been given orders to install FreePascal first Still... having been through that one I end up using svn to stick Lazarus in there. Like I say I am some sort of numpty who might be bothered about where it is going and other blorp but faith might work. Off it goes and, with FreePascal already installed with its bitz, I do 'make clean install'... and it kills itself on the pixbuff one. I try the FAQ suggestion of make clean all OPT=-dNoGdkPixBufLib and it kills itself on the pixbuff one. Harumph! The source in the FAQ for pixbuf is broken so, via some route I find where pixbuf might live... http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/ Download and 'install' 0.22 or rather not because it moans about something at the end but I give up and do another 'make clean install' and Lazarus gets compiled but moans about something missing when I start it. My fault for being a pedant, I have no right but it is part of my head. In the FAQ, ignoring pixbufs failure to install itself proper like (probably relied on something else) the news is you have to install the pixbuf that works with GTK1.x... And which one might that be and what does it need to install proper like?? One thing I might do is babble at someone in the know on the forums here and sort out my 'specific' problem. Chances are that once that is sorted I might end up coding rubbish and ultimately give up.... Bigger chance is I will write my rubbish, try to distribute it and end up with similar mong questions from people who can't get my stuff to work either. So.... not wishing to be entirely negative, may I make a suggestion to the Linux community. Set up a central 'suppository' of all the bits and peices that might be needed to compile what you produce. Get rid of the concept of 'names', bury the explanation of what it might be in the comment section of the files inside it. 'Register' dare I say the contents as 00:00:00:00:00:00, Linux Kernel Source, up to FF:FF:FF:FF:FF:FF and in each one Register versions/hacks/crap as 00:00:00:00:00:00 up to FF:FF:FF:FF:FF:FF If people want to add to the Suppository then they choose the appropriate base number and ask for the lower number and stuff their rubbish in it. When you want to install your toss on someones puter then you would have registered the stuff it needs in the central suppository. The local puter will have it's own version of what it has installed from the suppository. Your install porf will have a rummage through the local on. If it does not find what you think it needs it will go off to the central suppository and deal with it. Then I will not have to bust my lackofbrane trying to find which bit I might be missing from someone elses version of what did not work in the first place which may or may not be called hjk- lmp+norfulator-0.2.4.5.f unless you told me I needed hjk norfulator which did not work anyway.... Thank you for your Tolerance, otherwise rape me. Keith ---------------------------------------------------------------------- Almindor · 2008-09-06 09:18 Care to maintain the repository? It's not a problem of motivation, more of manpower and money (servers). For you, go with Gtk2 ("make LCL_PLATFORM=gtk2"), make sure you got all your libgtk2-dev "kind of" packages installed (name can slightly differ but you should be able to figure them out). I agree about the repository tho, but only when the numbskulls finally decide to go Gtk2 native (which they should've long time ago). Oh wait.. we have to push Carbon in first.. go figure. ---------------------------------------------------------------------- SlackBrane · 2008-09-06 16:32 Hmmm... I would not be so sure about 'maintaining' it, perhaps policing might be a better idea. I'd suggest some sort of 'on trust' free for all. Excuse me whilst I go stupid, honest I have little to zero experience of such things or what might be needed to build/run them. Let's say Linus Torvalds gets given Base 00:00:00:00:00:00 Under that one he gets 00:00:00:00:00:00 where he has to store his suppository user data in some defined format so the 'system' can administer things like sending him a message that his base is about to be deleted because he's been using it for unintended purposes. Then he can go and do what he wants under it with the proviso that whatever he stores there comes with some 'agreed' format of header that describes what it is so the 'system' can search for things and whatever is stored is named **:**:**:**:**:** You might see, probably for misplaced reasons, I'm really hot on the idea of getting rid of meaningful names.. After all, you have just told me to get all of the libgtk2-dev "kind of" packages which leads me to think that I will beat my head against Google for some more time trying to find the wrong ones from a Debian/Redhat .DEB/.RPM thing. Beyond "zero space" for the Kernel Stuff then everyone else has to register on the 'system', fill out their details, and then get given the next available Base. Let's say the Gnome folks are quick off the mark and they end up with 00:00:00:00:00:01 and shunt all their stuff under that one. Then XYZ and ABC grab some space and clutter it up and so it goes on. In background the 'system' chunders through what has been smeared on it and looks for matches. I don't doubt that the thing will end up with multiple exact copies of blart-x-2.4.3-i486.chundernorb.tar.gz on it but it can contact people and say... excuse me but you appear to have given me something I have already from this person.. sort yourselves out. In some respects I'm suggesting that, with a bit of thought, the 'system' would be set up to 'maintain' itself. Mind you, I don't doubt that someone will come up with some cool way of 'breaking' it.. However, with enough numbers, do you like my IPv6 analogy?, they can stick dross up it but when it comes to people delivering the bits that they need for their software to work I would assume they will pick the right ones.... Dream on maybe but it is sounding 'good' to me. Now then, now then. In order, not, to get Lazarus up and running [later] I've had to download stuff from someones server and then mess about, OK I am an idiot but... With our new Suppository instead of going through that 'heartache' all I would have to do is download a file that looks something like this... [00:00:00:00:00:00 >00:00:00:00:00:04 >00:00:00:00:00:FE] [00:00:32:00:1F:00 >00:00:00:00:00:F8 >00:00:00:00:00:FE] Not fully thought out, it's the clueless gene, but... Then my putah's 'Install' program would chunder through it's local list and say. Got that, lives there. Got that, lives there. Need that Need that Got that..... and so on. Then it would go to the Suppository and download the 'needs' followed by a quick rubbish about to compile and install the final program. Since you might assume that the developers are also using the Suppository to create their wonders then it is all plain sailing...... When I need or want to uninstall it because it turned out to be a worthless pile of dung, or it didn't work in the first place, my uninstall program cross references the file used to get the bits for this program back to the other bits used to install other programs and rips out the bits that will not break the other ones. When the program, or I, think it might need updating it goes back to the Suppository and 'asks'. Naturally there is a rollback included. Brilliant!!!! If it is set up right then the (real) users will maintain their parts and it will scrub the wasters so that sort of gets rid of the manpower concern. That leaves the money/servers.... I'd be bold/numpty and suggest that if such a thing were set up a lot of server/money time would be saved because I/people would not be farting about trying to find/downloading/installing monsterfluge-3.8.9.10-zen868.irp. Just in case I will point out that I ignored all the Google adds and spam websites offering me 'monsterfluge-3.8.9.10-zen868.irp blow up viagra dolls FREE download'. I've already SVN'd Lazarus at least three times. Multiply me by the number of idiots on the planet and you might see something could be less broken and, possibly, 'cheaper'. Then the 'server' question. P2P???? What if you (or me), as part of the 'community' agree to have something installed... Oh Me Gosh, big security issue!!!. Anyway, second to last time I downloaded Slack I did it using, hunts about in drunk brane for... can't remember it. However, rather than downloading you stuff directly from the central Suppository you, and others, run a P2P client on your putah's that receives a request for [00:00:F2:B5:11:34 >22:12:48:44:AC:24] And has a look in its local Suppository and goes 'AHA, I have one of those... Here you go Matey Jim'. 'Thank you very nicely.' Says the Putah who just got it. Then it generates an MD5 or whatever and says to the 'System' at the Suppository... 'Hello Suppository, iz this legit?' 'Hello Putah, looks good to me.' Waffle waffle waffle However, we have not burdened the Suppository with our downloads. We have just asked if they are right. Bonus.... Errrm... I went with your advice (copy the quote and stick it up Konsole) and, ignoring stuff I might have read about GTK1 versus GTK2, it is UP but still moaning at me. Even so it looks exceptionally tempting so I will try, and probably fail, to find out what it is moaning about. Oh, just in case, I was not suggesting the Suppository for this 'project' alone.. I was going for world fruitification. Keith ---------------------------------------------------------------------- SlackBrane · 2008-09-07 10:37 Thank you Almindor2... I had to read your other post about getting the fpc source files from, err, where was it.. http://www.freepascal.org/down/source/sources.var A bit of a giggle, coz I had already done that and then scrubbed them after finishing the install of FreePascal. Whoops, bites tongue. Anyway having untarred the source in my download directory I copied the contents of the fpcsrc directory to a directory under /usr/lib/fpc/2.2.2 and then edited the fpc.cfg file in /etc to include that as a search path... I don't know if that is right, just playing safe. Having seen the thing hunt in /etc/lazarus for a config file I also created that directory and added a copy of fpc.cfg to it. That's probably wrong as well. There are a couple of othe 'can't finds' and something about Gtk-blah-flash-something which I'll hunt about for later. Beyond that it was just a matter of setting up the environment/files part in the IDE to tell it where to find the 'newly' installed fpc source files. Mind you I'm sure there will be other wibbles but I am have just written my 'first' FreePascal application under Lazarus... OK nothing special. Toot Toot   Thanks again