18 messages in com.mysql.lists.plusplusRe: mysql++ not working on Mandrake 8.0?| From | Sent On | Attachments |
|---|---|---|
| Goldie Singh | 15 Sep 2001 11:07 | |
| Janne Lähteenmäki | 16 Sep 2001 12:32 | |
| M | 16 Sep 2001 19:06 | |
| Janne Lähteenmäki | 17 Sep 2001 08:52 | |
| Janne Lähteenmäki | 17 Sep 2001 12:57 | |
| D. Stimits | 17 Sep 2001 13:17 | |
| M | 17 Sep 2001 17:03 | |
| Janne Lähteenmäki | 18 Sep 2001 09:59 | |
| D. Stimits | 18 Sep 2001 11:16 | |
| Janne Lähteenmäki | 18 Sep 2001 11:37 | |
| M | 18 Sep 2001 18:14 | |
| Janne Lähteenmäki | 19 Sep 2001 08:44 | |
| Charles Ouimet | 11 Oct 2001 11:52 | |
| D. Stimits | 11 Oct 2001 12:41 | |
| D. Stimits | 11 Oct 2001 13:05 | |
| Janne Lähteenmäki | 11 Oct 2001 13:26 | |
| Robert Henkel | 12 Oct 2001 08:40 | |
| Charles Ouimet | 15 Oct 2001 08:04 |
| Subject: | Re: mysql++ not working on Mandrake 8.0?![]() |
|---|---|
| From: | D. Stimits (stim...@idcomm.com) |
| Date: | 10/11/2001 12:41:16 PM |
| List: | com.mysql.lists.plusplus |
I haven't worked with this particular source, but I know some of the "not valid preprocessing token" warnings occur even under valid circumstances. But in those cases that I was working with, preprocessor definitions were being combined to create another token, which in turn was valid, for the purpose of forming an o/s dependent include path and prefixing o/s dependent naming to the included files. Thus a larger name was being created by pasting multiple defines together. I would make a guess (taken with a grain of salt) that the missing file has nothing to do with the preprocessor warnings. More likely it is an artifact of incompatibility between rpm versions, whether that is mandrake versus redhat, or 3.x versus 4.x, so on.
D. Stimits, stim...@idcomm.com
Charles Ouimet wrote:
Hello all!
I'm currently experiencing same problems (lots of warnings while compiling custom4.cc) as Janne had (except that I'm running a _brand new_ install of Mandrake 8.1).
Do you know how I can fix this? Are those warnings so bad?
Janne, did you get a RPM somewhere for mysql++-1.7.9?
Additionnal info: [root@couimet mysql++-1.7.9]# gcc -v Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96/specs gcc version 2.96 20000731 (Mandrake Linux 8.1 2.96-0.62mdk)
Thanx
-C
At 21:37 2001-09-18 +0300, Janne Lähteenmäki wrote:
On Tuesday 18 September 2001 20:00, Janne Lähteenmäki wrote:
On Tuesday 18 September 2001 03:03, M wrote:
Yes, if you can't even declare a Connection object without a crash it looks like it may be something wrong with the mysql++ build. I recently built mysql++ on Mandrake 8.0 with success. One of the scripts was dodgey, but I got through that. How and where did you intall it and were there any errors during the process? Did you build from the source or use an RPM?
I just finished installing Mdk 8.1 beta 3, but that did not solve the problem. I tried rebuilding the mysql++ from source RPM on the 8.0 mandrake, but that did not help, the program still crashed. Maybe I'll try to do the same on the 8.1beta3 now... By the way the version of mysql++ I used was 1.7.8-1.
okay, now I tried recompiling the lib on 8.1beta3, but the prog still segfaults.
I got a lot of warnings like these: custom4.cc:8:1: warning: pasting "stock" and "::" does not give a valid preprocessing token custom4.cc:8:1: warning: pasting "populate_stock" and "<" does not give a valid preprocessing token custom4.cc:8:1: warning: pasting "sql_COMPARE__1" and "(" does not give a valid preprocessing token custom4.cc:8:1: warning: pasting "." and "item" does not give a valid preprocessing token custom4.cc:8:1: warning: pasting "." and "item" does not give a valid preprocessing token custom4.cc:8:1: warning: pasting "." and "item" does not give a valid preprocessing token custom4.cc:8:1: warning: pasting "." and "item" does not give a valid preprocessing token
And an error like this:
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.30694 + umask 022 + cd /usr/src/RPM/BUILD + cd mysql++-1.7.8 + DOCDIR=/tmp/mysql++-root/usr/share/doc/mysql++-1.7.8 + export DOCDIR + rm -rf /tmp/mysql++-root/usr/share/doc/mysql++-1.7.8 + /bin/mkdir -p /tmp/mysql++-root/usr/share/doc/mysql++-1.7.8 + cp -pr LGPL README TODO /tmp/mysql++-root/usr/share/doc/mysql++-1.7.8 cp: cannot stat `TODO': No such file or directory virhe: Bad exit status from /var/tmp/rpm-tmp.30694 (%doc)
But the library still compiled...
--janza
----------------------------------------- Charles Ouimet char...@analysco.com
(514) 220-4240 http://www.analysco.com
-----------------------------------------




