euglug.org

[작성자:] admin

  • [Eug-lug] Re: [lug] Compiling 2.6 kernel with Debian



    Robert M. SolovayWed Nov 17 00:30:04 PST 2004

    On Tue, 16 Nov 2004, Shannon C. Dealy wrote:
    
    .  Now if they could
    > just fix the !@$$#!$%% problems with USB in the latest 2.6 kernels.
    
    	What are these problems? I was planning to upgrade to Fedora Core
    3 [so that I can use Firefox.] But if one can't use USB 2.0 that's a
    showstopper.
    
    	Thanks,
    
    	--Bob Solovay
    
    
    
  • [Eug-lug] Re: [lug] Compiling 2.6 kernel with Debian



    Bob MillerTue Nov 16 18:43:52 PST 2004

    Shannon C. Dealy wrote:
    
    > Perhaps xconfig is better these days, I haven't used it in probably 3-4+
    > years
    
    That explains it.  "make xconfig" was completely redesigned and
    rewritten somewhere in the 2.5 series.  It's nothing like the 2.4
    program of the same name.
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com
    
  • [Eug-lug] Re: [lug] Compiling 2.6 kernel with Debian



    Shannon C. DealyTue Nov 16 18:37:46 PST 2004

    On Tue, 16 Nov 2004, Bob Miller wrote:
    
    > Shannon C. Dealy wrote:
    >
    > > Do you really need a GUI?  I always use "make menuconfig", and like
    > > it better than any of the GUI flavors I have used.
    >
    > I've used menuconfig and xconfig, and I think xconfig is better in
    > some objective ways.  Here are a few that spring to mind.
    [snip]
    >
    > I don't believe that GUI interfaces are always better than text-based,
    > and I can think of plenty of cases where they aren't.  In this case,
    > though, xconfig wins the usability contest.
    
    Perhaps xconfig is better these days, I haven't used it in probably 3-4+
    years, and while I don't remember what it was, there was something about
    it that just irritated the heck out of me, which is why I went back to
    menuconfig.  Probably should try it again sometime.  Now if they could
    just fix the !@$$#!$%% problems with USB in the latest 2.6 kernels.
    
    Shannon C. Dealy      |               DeaTech Research Inc.
    dealy at deatech.com     |          - Custom Software Development -
                          |    Embedded Systems, Real-time, Device Drivers
    Phone: (800) 467-5820 | Networking, Scientific & Engineering Applications
       or: (541) 929-4089 |                  www.deatech.com
    
    
  • [Eug-lug] PHP Config Issues: The Final Solution



    Jim BeardTue Nov 16 16:51:05 PST 2004

    Here is an update for anyone that cares.
    
    While forcing the rpm installations and sym-linking the libraries was 
    indeed fun, it ultimately did not work.  It psuedo-worked.  PHP told me 
    mysql was all kosher, and my app did indeed install.  However when db 
    connections were actually attempted, that process would segfault and I 
    had to examine apache's logs to even realize that this was occurring.
    
    So back to the drawing board.  Better efforts to google the problem 
    ultimately proved fruitful.  MySQL is aware of the incompatibility 
    issues and has apparently released "compat" rpms which provide the .10 
    library version that I needed.  Note however that I could not find 
    these rpms on MySQL.org or on rpmfind.net.  However, googling for the 
    rpm name "MySQL-shared-compat-4.0.21-i386.rpm" eventually turned up a 
    mirror that had exactly the file I needed.  Now the installation is 
    complete, via rpms, and everything seems copacetic... for now...
    
    Thank you all for any insight that you provided during my times of 
    troubles..
    
    Jim Beard
    counterclaim.com, Inc
    http://www.counterclaim.com
    http://openefm.sourceforge.net
    (800) 264-8145
    
    
  • [Eug-lug] Re: [lug] Compiling 2.6 kernel with Debian



    Bob MillerTue Nov 16 16:15:06 PST 2004

    Shannon C. Dealy wrote:
    
    > Do you really need a GUI?  I always use "make menuconfig", and like
    > it better than any of the GUI flavors I have used.
    
    I've used menuconfig and xconfig, and I think xconfig is better in
    some objective ways.  Here are a few that spring to mind.
    
    1. Help text is always visible.  You don't have to type a character,
       lose visible context, and type again to return (and lose the help
       text) -- just glance down at the lower right pane to see what it's
       about.
    
    2. Disabled options are visible (greyed out).  Can't configure SCSI CD
       because you disabled the SCSI system (for example)?  Fine.  You can
       see the option, and you can see it's disabled.  You aren't
       wondering whether you're looking on the right screen.
    
    3. More of the menu hierarchy is visible at a time.  Left pane shows
       global position, right pane shows current submenu.
    
    Note that you can drive xconfig completely from the keyboard --
    no need to touch the rodent, if that bothers you.
    
    I don't believe that GUI interfaces are always better than text-based,
    and I can think of plenty of cases where they aren't.  In this case,
    though, xconfig wins the usability contest.
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com
    
  • [Eug-lug] Re: [EUGLUG] PHP Config Issues



    Jim BeardTue Nov 16 09:45:18 PST 2004

    On Nov 15, 2004, at 7:27 PM, Jacob Meuser wrote:
    
    > just a word of warning ...
    > ...
    >  eventually, you will likely hit an incompatability.
    
    Agreed.  But it does sound like fun now doesn't it?
    
    Jim Beard
    counterclaim.com, Inc
    http://www.counterclaim.com
    http://openefm.sourceforge.net
    (800) 264-8145
    
    
  • [Eug-lug] Re: [EUGLUG] PHP Config Issues



    Jacob MeuserMon Nov 15 19:27:15 PST 2004

    On Mon, Nov 15, 2004 at 06:45:23PM -0800, larry price wrote:
    > On Mon, 15 Nov 2004 17:40:30 -0800, Jim Beard <beard at counterclaim.com> wrote:
    > > So where I'm at now is I have an rpm that depends on
    > > libmysqlclient.so.10 and I have libmysqlclient.so.12 installed.  Even
    > > if I create a symlink for libmysqlclient.so.10 library, rpm still won't
    > > want to install the rpm will it?  Thats what I'm currently wondering
    > > about...
    > 
    > if after doing ln -s $lib.so $lib.so.10
    > (and do point it at .so just for future proofing)
    > the rpm will not install,
    > then, depending on your tolerance for potential pain, go ahead and use the 
    > --nodeps and --force options available for rpm
    > 
    > 80% of the time you'll be okay, 20% of the time you've created more
    > problems for yourself
    
    just a word of warning ...
    
    usually a library is named like libfoo.so.x.y, where x is the major
    version and y is the minor version.  when you have libfoo.so.x,
    then x is the major version, and you have no minor version info.
    
    changes in library major versions are supposed to signal incompatable
    API changes.  changes in minor versions are suppoed to signal changes
    that should be compatable with the previous API ... an example would be
    adding a function, another would be simply fixing a bug.
    
    so, if you link a program against libfoo.so.1.0, you should have no
    problems linking the same program against libfoo.so.1.1,
    libfoo.so.1.2, libfoo.so.1.3, etc.
    
    now, that is not how they are always used, and it may be that the
    programs, libraries, etc that you are trying to make work will not
    hit those API changes, however, in the case of php-mysql, the intent
    is to wrap the mysql API with php.  eventually, you will likely hit
    an incompatability.
    
    to say nothing about ABI changes, since you're using a library that
    isn't the same library the program was linked with.
    
    > I believe there's a verbose trial mode but you'll need to read the man
    > page for rpm for that.
    > 
    > ps.
    > This sort of thing is exactly what soured me on redhat in the first place,
    > debian does somewhat better, ports style build systems are somewhat
    > more scrutable,
    > there are no perfect solutions; dependency management is a hard problem.
    
    yes, especially when you have to be flexible enough to compensate for
    packages that do not follow things that can help, like sane library
    versioning :(
    
    > pps, before you do radical rpm --damage-my-system;
    > touch rollback
    > then you can launch a find job
    > find /usr/lib -type f -newer rollback -exec rm -i {} \;
    > 
    > to interactively delete the files you didn't want to install 
    > after you discover you didn't want to do that.
    > 
    > -- 
    > http://Zoneverte.org -- information explained
    > Do you know what your IT infrastructure does?
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    
    -- 
    <jakemsr at jakemsr.com>
    
  • [Eug-lug] Re: [EUGLUG] PHP Config Issues



    Jim BeardMon Nov 15 19:07:28 PST 2004

    Larry is my hero for the day.  This sounds like very solid advice.
    
    Maybe next I'll challenge you with OpenBSD trivia!
    
    On Nov 15, 2004, at 6:45 PM, larry price wrote:
    
    > On Mon, 15 Nov 2004 17:40:30 -0800, Jim Beard <beard at counterclaim.com> 
    > wrote:
    >> So where I'm at now is I have an rpm that depends on
    >> libmysqlclient.so.10 and I have libmysqlclient.so.12 installed.  Even
    >> if I create a symlink for libmysqlclient.so.10 library, rpm still 
    >> won't
    >> want to install the rpm will it?  Thats what I'm currently wondering
    >> about...
    >
    > if after doing ln -s $lib.so $lib.so.10
    > (and do point it at .so just for future proofing)
    > the rpm will not install,
    > then, depending on your tolerance for potential pain, go ahead and use 
    > the
    > --nodeps and --force options available for rpm
    >
    > 80% of the time you'll be okay, 20% of the time you've created more
    > problems for yourself
    >
    > I believe there's a verbose trial mode but you'll need to read the man
    > page for rpm for that.
    >
    > ps.
    > This sort of thing is exactly what soured me on redhat in the first 
    > place,
    > debian does somewhat better, ports style build systems are somewhat
    > more scrutable,
    > there are no perfect solutions; dependency management is a hard 
    > problem.
    >
    > pps, before you do radical rpm --damage-my-system;
    > touch rollback
    > then you can launch a find job
    > find /usr/lib -type f -newer rollback -exec rm -i {} \;
    >
    > to interactively delete the files you didn't want to install
    > after you discover you didn't want to do that.
    >
    > -- 
    > http://Zoneverte.org -- information explained
    > Do you know what your IT infrastructure does?
    >
    >
    Jim Beard
    counterclaim.com, Inc
    http://www.counterclaim.com
    http://openefm.sourceforge.net
    (800) 264-8145
    
    
  • [Eug-lug] Re: [EUGLUG] PHP Config Issues



    larry priceMon Nov 15 18:45:23 PST 2004

    On Mon, 15 Nov 2004 17:40:30 -0800, Jim Beard <beard at counterclaim.com> wrote:
    > So where I'm at now is I have an rpm that depends on
    > libmysqlclient.so.10 and I have libmysqlclient.so.12 installed.  Even
    > if I create a symlink for libmysqlclient.so.10 library, rpm still won't
    > want to install the rpm will it?  Thats what I'm currently wondering
    > about...
    
    if after doing ln -s $lib.so $lib.so.10
    (and do point it at .so just for future proofing)
    the rpm will not install,
    then, depending on your tolerance for potential pain, go ahead and use the 
    --nodeps and --force options available for rpm
    
    80% of the time you'll be okay, 20% of the time you've created more
    problems for yourself
    
    I believe there's a verbose trial mode but you'll need to read the man
    page for rpm for that.
    
    ps.
    This sort of thing is exactly what soured me on redhat in the first place,
    debian does somewhat better, ports style build systems are somewhat
    more scrutable,
    there are no perfect solutions; dependency management is a hard problem.
    
    pps, before you do radical rpm --damage-my-system;
    touch rollback
    then you can launch a find job
    find /usr/lib -type f -newer rollback -exec rm -i {} \;
    
    to interactively delete the files you didn't want to install 
    after you discover you didn't want to do that.
    
    -- 
    http://Zoneverte.org -- information explained
    Do you know what your IT infrastructure does?
    
  • [Eug-lug] Re: [EUGLUG] PHP Config Issues



    Allen BrownMon Nov 15 18:19:27 PST 2004

    Did you look on http://rpmfind.net/linux/RPM/?
    --
    Allen Brown
      work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
            allen_brown at agilent.com             abrown at peak.org
      Politeness, n. The most acceptable hypocrisy. ---Ambrose Bierce
    
    
    On Mon, 15 Nov 2004, Jim Beard wrote:
    
    > The MySQL website doesn't seem to have any rh9 specific rpms that I 
    > see, just general 'linux' rpms.  Also, I don't want to use the big 
    > versions they have, I already have databases set up in a mysql 4.0.21 
    > system and I'd like to keep it, but simply add the mysql-shared rpm too 
    > it.  I found an rpm finally for this version only now rpm has stopped 
    > responding on the machine.  Have any of you encountered this?  rpm 
    > hangs when I try to use it and can't be killed.  I'm thinking this 
    > might go away if I reboot the machine, I just hate rebooting machines 
    > that have up times of over 4 months :P  Using a different shell does 
    > not make it go away, rpm still hangs then.
    > 
    > Jim
    > 
    > On Nov 15, 2004, at 3:14 PM, Bill Essig wrote:
    > 
    > > Mr. Beard, IO would suggest a redhat9 rpm, which should be available at
    > > the mysql website... as for PHP integration, MySQL runs as a standalone
    > > service on  a port (3306), and PHP will connect to it there, on the
    > > loopback interface (127.0.0.1)
    > >
    > > Repectfully Submitted,
    > > Andrew W. Wilson
    > > Gopher Contracting
    > >
    > >> Howdy folks,
    > >>
    > >> 	I've been running into some fun issues with php and was wondering if
    > >> anyone out there had some good advice for me.
    > >> 	I have a RedHat 9.0 system, with apache 2.0 and php 4.2.2 installed.
    > >> The problem is that I want to run a php program that uses the mysql 
    > >> and
    > >> imap modules in php.  Currently I do not have mysql compiled in.  My
    > >> question is what is the best approach to getting it there?  I
    > >> downloaded the 4.3.9 php source, and can compile in mysql support, but
    > >> not imap support.  It complains about missing rfc822.h file.  So, I
    > >> guess I need to grab this from somewhere to be able to compile it in?
    > >> Also, am I going to shoot myself in the foot if I do a 'make install'
    > >> of the 4.3.9 version on top of the 4.2.2 version?  Should I attempt to
    > >> remove the 4.2.2 version first?  Is there a better way altogether that
    > >> I'm not aware of to accomplish this?
    > >
    > > _______________________________________________
    > > EUGLUG mailing list
    > > euglug at euglug.org
    > > http://www.euglug.org/mailman/listinfo/euglug
    > >
    > >
    > Jim Beard
    > counterclaim.com, Inc
    > http://www.counterclaim.com
    > http://openefm.sourceforge.net
    > (800) 264-8145
    > 
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >