bayonne-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bayonne-devel] Major problems compiling Bayonne 1.2.6.


From: Erik Enge
Subject: [Bayonne-devel] Major problems compiling Bayonne 1.2.6.
Date: Thu, 10 Jul 2003 10:47:13 -0400
User-agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Portable Code, linux)

My configure line:

  ./configure --prefix=/share/sys/bayonne/bayonne-$ver --without-unsafe \
              --without-mysql

A snip from the log:

  checking no/include/mysql/mysql.h usability... no
  checking no/include/mysql/mysql.h presence... no
  checking for no/include/mysql/mysql.h... no
  configure: error: mysql.h not found

I see what is happening.  --without-mysql is being translated to
--with-mysql=no.  How can I not compile in MySQL support?  I have tried
giving it the right path but then it blows up:

  Making all in mysql
  make[2]: Entering directory `/share/pak/bayonne/bayonne-1.2.6/modules/mysql'
  g++ -DHAVE_CONFIG_H -I. -I. -I../../server   
-I/share/sys/ccscript/ccscript-2.5.4-1/include/cc++2 
-I/share/sys/ccaudio/ccaudio-1.0.7-1/include/cc++2 -fPIC -g -O2 
-I/share/sys/commoncpp2/commoncpp2-1.0.12-1/include/cc++2 -I/usr/local/include 
-D_GNU_SOURCE -I/usr/include/mysql -c -o mysql_sql-mysql.o `test -f 'mysql.cpp' 
|| echo './'`mysql.cpp
  mysql.cpp:34: base class `ost::TrunkImage' has incomplete type
  mysql.cpp: In method `ost::MySQLTrunk::MySQLTrunk ()':
  mysql.cpp:246: type `ost::TrunkImage' is not an immediate basetype for 
  `ost::MySQLTrunk'
  mysql.cpp: In method `ost::MySQLTrunk::~MySQLTrunk ()':
  mysql.cpp:252: `purge' undeclared (first use this function)
  mysql.cpp:252: (Each undeclared identifier is reported only once for 
  each function it appears in.)
  mysql.cpp: In method `bool ost::MySQLTrunk::loader (ost::Trunk *, 
  trunkdata_t *)':
  mysql.cpp:344: `getCompile' undeclared (first use this function)
  mysql.cpp:345: cannot call member function `ost::MemPager::alloc 
  (unsigned int)' without object
  mysql.cpp:355: `addCompile' undeclared (first use this function)
  mysql.cpp:357: `main' undeclared (first use this function)
  mysql.cpp:357: `putCompile' undeclared (first use this function)
  mysql.cpp:376: `current' undeclared (first use this function)
  mysql.cpp: In method `char *ost::MySQLTrunk::mystr (const char *)':
  mysql.cpp:402: cannot call member function `ost::MemPager::alloc 
  (unsigned int)' without object
  make[2]: *** [mysql_sql-mysql.o] Error 1

Also, I am not compiling as root and I discovered the following:

  make[2]: Entering directory `/share/pak/bayonne/bayonne-1.2.6/server'
  if test ! -z ".orig" ; then cp bayonne.conf /etc/bayonne.conf.orig ; fi
  cp: cannot create regular file `/etc/bayonne.conf.orig': Permission denied

Why would this happen when I have a different prefix?

Erik.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]