On Mon, 28 Jan 2002 14:07:53 -0500 "Brian K. Jones" <[EMAIL PROTECTED]> implied:
> Thanks for the tip. I had already tried locate, and it returned > nothing. I also used rpm's --whatprovides flag, which also turned up > nothing. That says the devel package isn't installed. The same would apply to mysql: rpm -q <whatever>-devel It it returns nothing, nothing is installed. If it returns a package and locate shows nothing, the find database hasn't been updated since you installed it. That gets done at around 4AM unless you've changed it or the machine is off. In those cases you'd need to do it manually or change the time it gets performed (I've yet to see anacron do its business, but I seldom have this thing off overnight). But you can still find where they are located, if they are installed, with: rpm -ql <package>-devel > Excuse my grumpiness. :( Horrible day. > > On Monday 28 January 2002 01:55 pm, you wrote: > > On Mon, 28 Jan 2002 13:41:55 -0500 > > > > "Brian K. Jones" <[EMAIL PROTECTED]> implied: > > > I hate this 'rpm mystery meat' crap. > > > > > > I configured without a path to mysql and it found the library it > > > needed. I still don't know where that is. Now it can't find the > > > snmp.h file. Of course, ucd-snmp was part of the default > > > install, which of course uses rpm. > > > > > > WTF? What's with all of this non-standard CRAP? Why can't > > > Redhat just put things where EVERYONE else in the Linux world > > > expects to find them? It sure would make it easier to get > > > something useful up and running, or to debug in cases like this. > > > > > > Anyone know where snmp.h is? I still haven't found the mysql > > > header files either. I'm not including a path for snmp, so I > > > figured all should be well :) It's not. Way to be predictable. > > > > $ locate snmp.h > > /usr/share/apps/quanta/doc/php/ref.snmp.html > > /usr/include/fwbuilder/snmp.hh > > /usr/include/ucd-snmp/snmp.h > > /usr/src/redhat/BUILD/fwbuilder-0.9.5/src/gui/snmp.hh > > /usr/src/linux-2.4.16-0.13/drivers/crypto/bcm/snmp.h > > /usr/src/linux-2.4.16-0.13/include/net/snmp.h > > /var/www/html/manual/mod/mod_php4/ref.snmp.html > > $ rpm -qf /usr/include/ucd-snmp/snmp.h > > ucd-snmp-devel-4.2.1-7 > > > > Standard or no, 'locate' works the same for all that include it, > > and then it's just a matter of learning to use the tools at one's > > disposal. > > > > Similar means can be used to locate other things. Including the > > headers you want to locate: > > > > $ rpm -ql mysql-devel > > /usr/include/mysql > > /usr/include/mysql/dbug.h > > /usr/include/mysql/errmsg.h > > /usr/include/mysql/m_ctype.h > > /usr/include/mysql/m_string.h > > /usr/include/mysql/my_config.h > > /usr/include/mysql/my_global.h > > /usr/include/mysql/my_list.h > > /usr/include/mysql/my_net.h > > /usr/include/mysql/my_no_pthread.h > > /usr/include/mysql/my_pthread.h > > /usr/include/mysql/my_sys.h > > /usr/include/mysql/mysql.h > > /usr/include/mysql/mysql_com.h > > /usr/include/mysql/mysql_version.h > > /usr/include/mysql/mysqld_error.h > > /usr/include/mysql/raid.h > > /usr/include/mysql/sslopt-case.h > > /usr/include/mysql/sslopt-longopts.h > > /usr/include/mysql/sslopt-usage.h > > /usr/include/mysql/sslopt-vars.h > > /usr/lib/mysql > > /usr/lib/mysql/libdbug.a > > /usr/lib/mysql/libheap.a > > /usr/lib/mysql/libmerge.a > > /usr/lib/mysql/libmyisam.a > > /usr/lib/mysql/libmyisammrg.a > > /usr/lib/mysql/libmysqlclient.a > > /usr/lib/mysql/libmysqlclient.so > > /usr/lib/mysql/libmystrings.a > > /usr/lib/mysql/libmysys.a > > /usr/lib/mysql/libnisam.a > > > > If you don't have those, you're missing the devel package. > > > > > On Monday 28 January 2002 01:39 pm, you wrote: > > > > Use the source..... > > > > > > > > (I think to proceed this way you have to install PHP as an RPM > > > > as well.. what a pain!) > > > > > > > > > -----Original Message----- > > > > > From: Brian K. Jones [mailto:[EMAIL PROTECTED]] > > > > > Sent: Monday, January 28, 2002 11:17 AM > > > > > To: [EMAIL PROTECTED] > > > > > Subject: MySQL headers after rpm install? > > > > > > > > > > > > > > > Can anyone tell me where the MySQL header files are located > > > > > by default after performing an RPM install of Mysql and > > > > > Mysql-clients? > > > > > > > > > > I'm trying to build PHP with mysql, but it's complaining that > > > > > it can't find the header files. I've never installed mysql > > > > > this way, so I'm a little in the dark, but I was in a hurry > > > > > and figured it'd be quicker. Guess that'll teach me to use > > > > > RPM's - or not. -- XP: What patch do you want to apply today? _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list