OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: jbruno on February 12, 2006, 01:10:41 pm
-
Has anyone tried to build MySql 5 ?
I tried it and ./configure blows up because I don't have 'getconf'.
Does anyone know where I can find getconf? I didn't see it in the pdaXrom feeds
Thanks
-
Has anyone tried to build MySql 5 ?
I tried it and ./configure blows up because I don't have 'getconf'.
Does anyone know where I can find getconf? I didn't see it in the pdaXrom feeds
I'm trying to compile MySQL 4.1.18 and have the same problem. I tried cheating by creating my own getconf:
#!/bin/sh
echo "linuxthreads-0.10"
but configure is too clever as it tries to compile a test program and fails:
checking "Linux threads"... "starting"
checking "getconf GNU_LIBPTHREAD_VERSION"... "Linuxthreads"
"no need to check headers"
checking "for pthread_create in -lpthread"... "no"
configure: error:
This is a Linux system claiming to support threads, either Linuxthreads or NPTL, but linking a test program failed.
Please install one of these (or a new glibc) and try again.
See the Installation chapter in the Reference Manual for more information.
Any ideas anyone?
-- cheers
-
Hi,
I encountered the same problems when trying to compile MySQL 4.1.18.
At present, I am compiling on my sl-c3000 Zaurus MySQL with no problems (The compilation isn't finished ...).
I do the following modifications to allow the compilation of MySQL :
- creation of the getconf shell script as follow (don't forget to put it in the path and do a chmod u+x on it)
#!/bin/bash
if [ "$1" == "GNU_LIBPTHREAD_VERSION" ]
then
echo "linuxthreads-0.9"
fi
Modified the configure file (in mysql-4.1.18/ ) replace the line number 25576 with the following lines :
pthread_t newtr;
(void) pthread_create(&newtr,(pthread_attr_t*) 0, 0, 0);
When my compilation will finish I will put the MySQL package in the "New Packages Announcement" topic (It's my first ipk build. I hope that no problems will be encountered ).
-
When my compilation will finish I will put the MySQL package in the "New Packages Announcement" topic (It's my first ipk build. I hope that no problems will be encountered ).
That's great news. Also please don't forget to make a devel package
The only reason why I tried compiling mysql rather than use the one in the feed was that I needed the header and static libs to compile support into php.
-- cheers
-
The only reason why I tried compiling mysql rather than use the one in the feed was that I needed the header and static libs to compile support into php.
I have the same needs.
You can found the MySQL package at New Packages Announcement (https://www.oesf.org/forums/index.php?showtopic=18415&view=findpost&p=123160)
-
New Packages Announcement (https://www.oesf.org/forums/index.php?showtopic=18415&view=findpost&p=123160)
Thanks, I'll grab it now.
-- cheers