On Wed, Oct 15, 2008 at 11:11:00PM -0300, Michel Boaventura wrote:
It prints "C:\msys\1.0\local\bin\psppire.exe"
OK. Now what happens if you put the lines
printf ("%s\n", PKGDATADIR "/compute.glade");
printf ("%s\n", relocate (PKGDATADIR "/compute.glade"));
AFTER the call to set_program_name ?
J'
2008/10/15 John Darrington <[EMAIL PROTECTED]>:
> On Wed, Oct 15, 2008 at 10:54:45PM -0300, Michel Boaventura wrote:
> My install of msys stays on C:\msys\1.0\, so if you open psppire.exe
> on a text editor, you will see a lot of
> "C:\msys\1.0\local\share\pspp\". But I really doesn't understand how
> realocate should work.
> But the program should search for the glade files on "./pspp" beside
> "C:\msys\1.0\local\share\pspp", so the folder with
> the program will became really realocable.
>
> Hmm. Can you add the line
>
> printf ("%s\n", argv[0]);
>
> just above the call to set_program_name in src/ui/gui/main.c and see
> what it prints on startup?
>
> J'
>
> --
> PGP Public key ID: 1024D/2DE827B3
> fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
> See http://pgp.mit.edu or any PGP keyserver for public key.
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFI9qDBimdxnC3oJ7MRAu8kAJ93htk6o8S5y9W7WqPW3R0q8DMg4QCggoMS
> KSaOfdDirfMzEjd/RnxywfM=
> =ELHQ
> -----END PGP SIGNATURE-----
>
>
_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.
signature.asc
Description: Digital signature
_______________________________________________ pspp-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/pspp-dev
