[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [NOVICE] rpmbuild kan ikke finde mysql.h



René Lund Jensen wrote:

Hejsa

Jeg sidder og prøver at bygge mig en RPM af proftpd med mysql support.
Men jeg får en fejl med:

mod_sql_mysql.c:137:19: mysql.h: No such file or directory

rpmbuild kan altså ikke finde mysql.h
Denne fil ligger i /usr/include/mysql/
jeg har prøvet at kopiere den til /usr/include/ men så er der
bare flere (andre) filer som ikke kan findes.

Hvordan fortæller jeg rpmbuild hvor dan skal lede efter disse filer.
De ligger jo alle i /usr/include/mysql/ og jeg går ud fra der er en god grund til at de ikek er lagt i /usr/include/.
(sikkert fordi der ville opstå navnesammenflad.)

OK til arkivet kommer her løsningen.


Man skal rode i den tilhørende specfil. Her skal man sørge for at configure kommandoen for parametren --with-includes=/usr/include/sql med
(og derefter opdager man at man også skal have --with-libraries=%{_libdir}/mysql med.)


René



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 21:16 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *