[Pkg-scicomp-devel] Problem glpk using mysql, error "string literal too long".
faraohh at gmail.com
Fri Oct 2 17:32:21 UTC 2009
I have problem with glpk debian package in Lenny in discusses with
help-glpk list, I receive sugestions to change constant in
src/glpmpl.h file to MAX_LENGTH 1000 according as email following
Is possible include into the next package?
Attachment patch, in version 4.39.
Thanks by attention.
---------- Forwarded message ----------
From: Yaron Kretchmer <yaronkretchmer at gmail.com>
Date: Thu, Oct 1, 2009 at 15:24
Subject: Re: [Help-glpk] Problem glpk using mysql, error "string
literal too long".
To: Marcello Henrique <faraohh at gmail.com>
Yes, you should download source code and recompile.
On Thu, Oct 1, 2009 at 11:22 AM, Marcello Henrique <faraohh at gmail.com> wrote:
> I use compiled package in debian lenny repository is necessary
> download source code, change then and compile again?
> You might say what should I change?
> Thank by advices!
> On Thu, Oct 1, 2009 at 15:13, Yaron Kretchmer <yaronkretchmer at gmail.com> wrote:
>> in the glpk source code (one of the .h files- I forget which one),
>> there is a constant which defines that max. string length. Change it
>> to something big (1000), and you should be good to go.
>> On Thu, Oct 1, 2009 at 10:23 AM, Marcello Henrique <faraohh at gmail.com> wrote:
>>> Hello all,
>>> I use glpk over Debian Lenny "GLPSOL: GLPK LP/MIP Solver 4.38", I have
>>> error message "nurse.mod:35: string literal too long" my line 35 this
>>> file nurse.mod is:
>>> table days_shifts_cost_work IN "MySQL" ...
>>> 'SELECT day,shift,days_shifts.cost,days_shifts.work FROM days_shifts
>>> INNER JOIN days ON days_shifts.day_id=days.id INNER JOIN shifts ON
>>> days_shifts.shift_id=shifts.id' : [ shift,day ], Cal_cost~cost,
>>> Anybody help me?
>>> Marcello Henrique
>>> Associação Software Livre de Goiás (www.aslgo.org.br)
>>> Cercomp - UFG (www.cercomp.ufg.br)
>>> Help-glpk mailing list
>>> Help-glpk at gnu.org
> Marcello Henrique
> Associação Software Livre de Goiás (www.aslgo.org.br)
> Cercomp - UFG (www.cercomp.ufg.br)
> Help-glpk mailing list
> Help-glpk at gnu.org
Associação Software Livre de Goiás (www.aslgo.org.br)
Cercomp - UFG (www.cercomp.ufg.br)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 459 bytes
Desc: not available
More information about the Pkg-scicomp-devel