alexpgp: (Default)
[personal profile] alexpgp
One item that escaped my notice when I superglued the camera sprocket drive to the film advancing mechanism is to make sure I don't apply so much superglue as to make the sprocket drive release inoperative.

It is now superglued in place, which means that rewinding exposed film will require a trip to a dark room (not necessarily a darkroom), or I will have to carry around this special lightproof bag I acquired a long time ago, which has holes for your arms and allows you to perform minor tasks - such as photographic film changes - in complete darkness.

* * *
The PHP that was installed on the shop's Linux box was apparently precompiled to not work with MySQL. When I attempted to install the PHP sources from the RedHat distribution's CD disk, my frustration level climbed rather sharply.

RedHat manages the distribution and installation of binary and source packages with a program called rpm. The following command line is supposed to install the files inside of the .rpm file specified at the end of the line:
rpm --install -h php-4.0.4pl1-9.src.rpm

The "-h" parameter merely prints out "#" characters as it unpacks the archive.

When I then try to form a query regarding the freshly installed package, it tells me the package is not installed. Go figure.

I cannot shake this idea that I'm missing something really, really simple... (and as I sit here at home typing this, I think I may have an inkling of what it may be... I'm off to check it out!)

Cheers...

Date: 2001-11-15 12:40 pm (UTC)
From: [identity profile] bandicoot.livejournal.com
*making note to keep superglue away from Alex* ;)

RPM

Date: 2001-11-15 10:42 pm (UTC)
From: [identity profile] gaal.livejournal.com
RPM -i on source packages puts them in /usr/src/redhat .

From there, look at SOURCES/, SPEC/, and (if you start compiling) BUILD/ .

Re: RPM

Date: 2001-11-15 11:03 pm (UTC)
From: [identity profile] alexpgp.livejournal.com
Roger all that. I finally figured that out, albeit by accident.

Now I just need to find enough time to recompile the app, though I hear that 4.0.6 fixes a passel of bugs out of 4.0.4.

Thanks.

Cheers...

Re: RPM

Date: 2001-11-15 11:12 pm (UTC)
From: [identity profile] gaal.livejournal.com
It's been a while since I've used RPM, but I do remember there was a silly bit to it where, after you "prep" a package (that is, get RPM to untar and apply any RedHat patches to it for you) and make your changes (Makefile, source code, whatever), you must use a special switch on the next invocation of RPM--the one that's supposed to create a new package and install it on your system--if you don't want your changes overwritten. Unfortunately, I can't remember what option that was :-(

Profile

alexpgp: (Default)
alexpgp

January 2018

S M T W T F S
  1 2 3456
7 8910111213
14 15 16 17181920
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 10th, 2025 08:43 am
Powered by Dreamwidth Studios