Sponsored Content
Operating Systems BSD You have another version of autoconf... Post 302335037 by userunx on Friday 17th of July 2009 05:58:09 AM
Old 07-17-2009
You have another version of autoconf...

Hi gurus,

I'm a FreeBSD noob who has generated an error, searched everywhere for solutions, and has just joined this forum (and searched it) hoping you can help.

I really need to get mysql server installed again ASAP, and preferably with Sphinx as a storage engine, or my web app in dev is delayed.

The error, is:

aclocal.m4:16: warning: this file was generated for autoconf 2.63.
You have another version of autoconf... use the procedure documented by the package, typically 'autoreconf'.

This is Automake 1.9.6, but the definition used by this AM_INIT_AUTOMAKE comes from Automake 1.10.2.
You should recreate aclocal.m4 with aclocal and run automake again. client/Makefile.am: required file './compile' not found.
Error code 63

I get this when trying to reinstall mysql50- server (or 51) after applying a patch to enable Sphinx as a storage engine in mysql server, as per the instructions on this page:

Enabling the Sphinx Storage Engine in MySQL via FreeBSD Ports


Specifically, here's what I did to get the error.

1. 'make deinstall clean' in the /usr/ports/databases/mysql50-server to wipe the previously installed version.
2. applied the patch, as per the instructions on the above page, which was successful.
3. 'make install clean' mysql50-server.

If it helps at all, FreeBSD is version 6.1 and I had previously done a portsnap fetch/update/extract.

I have found an online book on autotools -http://sources.redhat.com/autobook/ , and some unanswered posts on related topics on this forum, but nothing that hints at how I would fix this problem. The book is probably great - but I don't have long enough to learn it.

I hope I have provided enough information, but please post any and all necessary questions.

Thanks
 

4 More Discussions You Might Find Interesting

1. Programming

automake/autoconf problem

hi, i'm fairly new with automake and i ran into a problem that i have found no solution for. so i have a setup where i don't want all the output files generated by the compiler and alike in my src directory, instead i created a build/unix folder and i have build/unix/config set for... (0 Replies)
Discussion started by: Akimaki
0 Replies

2. Shell Programming and Scripting

using automake and autoconf with C++

hi, I have written the Makefile.am and autoconf.ac files and am looking to build my project by providing the following commands: $autoreconf -f -i -m $./configure both of the above work fine, but when I give the make command, I get the following error: make all-am make: Entering directory... (0 Replies)
Discussion started by: bacpp
0 Replies

3. Programming

Using autoconf and automake. aclocal-1.11: command not found

Hi, I'm trying to make my source "buildable". autoconf and automake tools are used. configure and Makefile.in files are created successfully. configure.ac: AC_INIT() AC_CONFIG_SRCDIR() AC_PROG_CXX AM_INIT_AUTOMAKE(main, 0.1) AC_CHECK_HEADERS()... (0 Replies)
Discussion started by: Vourhey
0 Replies

4. UNIX for Advanced & Expert Users

AutoConf,-Make

Heyas I'm trying to rewrite the install procedure of TUI, applying the standards of the Autotools. Inofficial: unix - Why always ./configure; make; make install; as 3 seperate steps? - Stack Overflow autoconf automake tutorial Official: ... (4 Replies)
Discussion started by: sea
4 Replies
CGI::Session::Driver::mysql(3pm)			User Contributed Perl Documentation			  CGI::Session::Driver::mysql(3pm)

NAME
CGI::Session::Driver::mysql - CGI::Session driver for MySQL database SYNOPSIS
$s = CGI::Session->new( 'driver:mysql', $sid); $s = CGI::Session->new( 'driver:mysql', $sid, { DataSource => 'dbi:mysql:test', User => 'sherzodr', Password => 'hello' }); $s = CGI::Session->new( 'driver:mysql', $sid, { Handle => $dbh } ); DESCRIPTION
mysql stores session records in a MySQL table. For details see CGI::Session::Driver::DBI, its parent class. It's especially important for the MySQL driver that the session ID column be defined as a primary key, or at least "unique", like this: CREATE TABLE sessions ( id CHAR(32) NOT NULL PRIMARY KEY, a_session TEXT NOT NULL ); To use different column names, change the 'create table' statement, and then simply do this: $s = CGI::Session->new('driver:mysql', undef, { TableName=>'session', IdColName=>'my_id', DataColName=>'my_data', DataSource=>'dbi:mysql:project', }); or $s = CGI::Session->new('driver:mysql', undef, { TableName=>'session', IdColName=>'my_id', DataColName=>'my_data', Handle=>$dbh, }); DRIVER ARGUMENTS mysql driver supports all the arguments documented in CGI::Session::Driver::DBI. In addition, DataSource argument can optionally leave leading "dbi:mysql:" string out: $s = CGI::Session->new( 'driver:mysql', $sid, {DataSource=>'shopping_cart'}); # is the same as: $s = CGI::Session->new( 'driver:mysql', $sid, {DataSource=>'dbi:mysql:shopping_cart'}); BACKWARDS COMPATIBILITY As of V 4.30, the global variable $CGI::Session::MySQL::TABLE_NAME cannot be used to set the session table's name. This is due to changes in CGI::Session::Driver's new() method, which now allows the table's name to be changed (as well as allowing both the 'id' column name and the 'a_session' column name to be changed). See the documentation for CGI::Session::Driver::DBI for details. In particular, the new syntax for "new()" applies to all database drivers, whereas the old - and bad - global variable method only applied to MySQL. Alternately, call $session -> table_name('new_name') just after creating the session object if you wish to change the session table's name. LICENSING
For support and licensing see CGI::Session. perl v5.12.4 2011-07-08 CGI::Session::Driver::mysql(3pm)
All times are GMT -4. The time now is 01:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy