intltool error

Hi
Have a look at my previous post, I’ve listed all the changes I made,
it’s cstring you need :slight_smile:


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
up 1 day 23:11, 2 users, load average: 0.41, 0.27, 0.33
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

Hi
And to finish it all of, built your main program as follows;


cd dldi-linux-gui-1.0/

cp /usr/share/intltool/intltool-* .

../configure --prefix=/usr

make

Error 1
vi src/dldifile.cpp

#include <cstring>

Error 2
vi src/ndsfile.cpp

#include <cstring>

sudo make install

I recommend you use the --prefix=/usr as well, then you shouldn’t have
any path issues. If you wish to uninstall, then go back to you make
directories and use;


sudo make uninstall


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
up 1 day 23:31, 2 users, load average: 0.20, 0.29, 0.26
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

cp /usr/share/intltool/intltool-*
cp: target `/usr/share/intltool/intltool-update.in’ is not a directory
rory@localhost:~/DLDI/GUI> …/configure --prefix=/usr
bash: …/configure: No such file or directoryv

what do i do?

Hi
For the copy command there is one space after the last character
then a period “.” which is to copy to the current location.

Also it’s only one (1) period in front of the configure command :slight_smile:


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
up 2 days 14:58, 1 user, load average: 0.06, 0.17, 0.13
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

i did the ./configure --prefix=/usr. nothing seemed to happen. when i do make it says:

make
make: *** No targets specified and no makefile found. Stop.

how do i fix it??

Hi
So there are two stages, build the dbus-c++ and install, then build the
dldi-linux-gui

Can you confirm, it’s the dldi one? If so are you running the command
in the dldi-linux-gui directory?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
up 2 days 17:36, 1 user, load average: 0.08, 0.15, 0.18
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

yes its the dldi-linux-gui directory. i have done the dbus thingy

Hi
If you run the command;


ls -la

There should be a file called configure in the list? If not I would
delete the directory and start again for it… modify the two files
again and retry the ./configure --prefix=/usr command again.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
up 2 days 18:32, 2 users, load average: 0.27, 0.51, 0.47
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

are you talking about

-rwsr–r-- 1 rory users 0 2008-08-22 15:28 configure
-rwsr–r-- 1 rory users 947 2008-08-21 14:36 configure.ac
?

Hi
Yes, but it’s been changed to read only, the sticky bit set and it
zero in size???

Mine is;


> -rwxr-xr-x  1 malcolml users 768377 2008-04-03 12:03 configure

I suggest you delete the directory and re-untar the file as you don’t
know what else has happened to the extracted files :slight_smile:


tar zxvf dldi-linux-gui-1.0.tar.gz


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
up 2 days 19:33, 2 users, load average: 0.13, 0.55, 0.46
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

did that, my configure file is now 750kb. shall i just run configure?

Yes, copy the files from /usr/share, fix the bits in the two files then
run the configure command and you should be up and running :slight_smile:


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
up 2 days 20:48, 1 user, load average: 0.32, 0.07, 0.04
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

i ran ./configure but im back to my original error

awk: cmd. line:1: fatal: cannot open file `./intltool-update.in’ for reading (No such file or directory)
found
./configure: line 7198: test: : integer expression expected
configure: error: Your intltool is too old. You need intltool 0.35.0 or later.

i have intltool 0.37.1-17.1. i just checked. what exactly is intltool? what does it do?

Hi
I have the same version. Are the three (3) intltool files copied over
into the directory?


malcolml@kermit-opensuse:~/build/dldi-linux-gui-1.0> ls -la intl*.in
-rw-r--r-- 1 malcolml users 23464 2008-08-20 14:51 intltool-extract.in
-rw-r--r-- 1 malcolml users 39398 2008-08-20 14:51 intltool-merge.in
-rw-r--r-- 1 malcolml users 30969 2008-08-20 14:51 intltool-update.in
malcolml@kermit-opensuse:~/build/dldi-linux-gui-1.0> ls
-la /usr/share/intltool/intl*.in -rw-r--r-- 1 root root 23464
2008-06-06 15:20 /usr/share/intltool/intltool-extract.in -rw-r--r-- 1
root root 39398 2008-06-06 15:20 /usr/share/intltool/intltool-merge.in
-rw-r--r-- 1 root root 30969 2008-06-06
15:20 /usr/share/intltool/intltool-update.in

zypper info intltool
Reading installed packages…

Information for package intltool:

Repository: openSUSE-11.0-Oss
Name: intltool
Version: 0.37.1-17.1
Arch: noarch
Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Installed: Yes
Status: up-to-date
Installed Size: 405.0 K
Summary: Internationalization Tool Collection
Description:
Some scripts to support translators working on GNOME and similar
programs. Data available in XML files (.oaf, .desktop, .sheet, and
more) can be extracted into PO files. After translation, the new
information is written back into the XML files.
Authors:

Kenneth Christiansen <kenneth@gnu.org>
Rodney Dawes <dobey@novell.com>
Danilo Šegan <danilo@gnome.org>


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.11-0.1-default
up 2 days 21:05, 2 users, load average: 0.38, 0.46, 0.27
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12