in reply to PAR tempfile issue

I'm not a PAR user, but I'll throw out a couple of wild guesses (I'm assuming from the .so and /tmp that you're running some Un*x flavour or other...):

/tmp isn't there/isn't writeable? Maybe the /tmp directory isn't named /tmp, on your system, or the permissions are odd...

/tmp is full? Maybe you're out of /tmp space, or have exceeded some quota. (Before someone points out that "out of /tmp is also out of swap", that's not necessarily true on all systems.)

What happens if you mkdir /tmp/xxx? Does the directory get created properly?

I hope this helps...
--
Mike

Replies are listed 'Best First'.
Re: Re: PAR tempfile issue
by jettero (Monsignor) on Jul 24, 2003 at 16:53 UTC
    Nope... it's not a perms or directory issue or anything. It's something I'm doing wrong with the pp app. Try it yourself, it's kinda neat.

    perl -MCPAN -e 'install PAR' should be trivial.

    pp -r -e 'print "hello world!\n"' should make an executable that's like a meg big ... but it prints hello world and you don't need to have perl installed to run it.

    The problem comes in when I try to make an executable from an app that uses Curses::UI. I don't know why that's special, but it doesn't seem to work -- resulting in the tempfile issue above. I also compiled an app that uses a few modules like Crypt::Rot13 that DID work just fine.