Skip to Content.
Sympa Menu

freetds - [freetds] freetds-0.61RC1 7 sqsh-2.1

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Garrett Goebel <garrett AT scriptpro.com>
  • To: 'freetds' <freetds AT lists.ibiblio.org>
  • Subject: [freetds] freetds-0.61RC1 7 sqsh-2.1
  • Date: Wed, 26 Feb 2003 09:27:51 -0600

Ron Creamer wrote:
>
> I hope I'm not off topic, but sqsh's website says to
> direct questions over here so here I go:

Well at least you can get to the website :)

For the last 2 weeks I've gotten:
>
> 403.9 Access Forbidden: Too many users are connected

I eventually found the sqsh 2.1 source in mirrors of FreeBSD and OpenBDS
distribution source files. Though, it might be nice to have sqsh sources
mirrored at the FreeTDS ibiblio site...


> When I go to compile sqsh, configured with
> --prefix=/usr --with-readline and run make, I get:
> ------------------------------------
[...]
sqsh_compat.h:50: conflicting types for `strerror'
[...]
sqsh_compat.h:74:1: warning: "strchr" redefined


Gentoo has the following patch for src/config.h after you've run configure:

60c60
< /* #undef HAVE_STRERROR */
---
> #define HAVE_STRERROR 1
62,67c62,67
< /* #undef HAVE_STRFTIME */
< /* #undef HAVE_MEMCPY */
< /* #undef HAVE_MEMMOVE */
< /* #undef HAVE_LOCALTIME */
< /* #undef HAVE_TIMELOCAL */
< /* #undef HAVE_STRCHR */
---
> #define HAVE_STRFTIME 1
> #define HAVE_MEMCPY 1
> #define HAVE_MEMMOVE 1
> #define HAVE_LOCALTIME 1
> #define HAVE_TIMELOCAL 1
> #define HAVE_STRCHR 1
69c69
< /* #undef HAVE_GETTIMEOFDAY */
---
> #define HAVE_GETTIMEOFDAY 1


Which compiles fine.

Note, you might want to use:

make SQSHRC_GLOBAL=/etc/sqshrc
make SQSHRC_GLOBAL=/etc/sqshrc install

If you want the config files to go in /etc. Otherwise they go in /usr/etc...

--
Garrett Goebel
IS Development Specialist

ScriptPro Direct: 913.403.5261
5828 Reeds Road Main: 913.384.1008
Mission, KS 66202 Fax: 913.384.2180
www.scriptpro.com garrett at scriptpro dot com




  • [freetds] freetds-0.61RC1 7 sqsh-2.1, Garrett Goebel, 02/26/2003

Archive powered by MHonArc 2.6.24.

Top of Page