Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Unable to install ProxyTunnel' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Unable to install ProxyTunnel
Authored by: TicToc on Aug 15, '05 06:35:36AM

I'd like to try this hint, but I'm having difficulty getting proxytunnel to compile. I'm a Unix beginner, so please be gentle! I've downloaded & uncompressed ProxyTunnel 1.2.2, and tried:
[code]sudo make -f makefile.darwin
sudo make install[/code]
After the first step I get one line tha looks like an error to me:
[code]proxytunnel.c:217: warning: passing arg 3 of 'accept' from incompatible pointer type[/code]

And then I get the following at the second step:
[code]install: root: Invalid argument
make: *** [install] Error 67[/code]

Any suggestions gratefully received.
Thanks in advance.



[ Reply to This | # ]
Unable to install ProxyTunnel
Authored by: jpalm1977 on Aug 17, '05 04:40:16AM
Hi TicToc,

I'm also a rank beginner, and had the same problem :(

But i managed to figure out that the 'Makefile' file holds the answer to our problem.

If you open the 'Makefile' file with a text editor (even TextEdit), and change the bottom section:

install:
		mkdir -p $(INSTALLPATH)
		install -g root -m755 -o root $(PROGNAME) $(INSTALLPATH)/$(PROGNAME)
		install -g root -m644 -o root debian/$(PROGNAME).1 $(MANPATH)/$(PROGNAME).1
to this:
install:
		mkdir -p $(INSTALLPATH)
		mkdir -p $(MANPATH)
		install $(PROGNAME) $(INSTALLPATH)/$(PROGNAME)
		install debian/$(PROGNAME).1 $(MANPATH)/$(PROGNAME).1
You should be able to run the 'sudo make install' command with out any problems or errors :)

It seems that the original makefile install code was trying to create the installed files with group & mode info set to root, which was generating the error! So i just removed those switches and the problem went away, YAY!
I also added a line to create a man folder for the man info in usr/local/, which my OS installation didn't seem to have! If you already have this folder, you can just delete the line.

Hope this helps! And enjoy responsibly ;)

Later!

[ Reply to This | # ]

Unable to install ProxyTunnel
Authored by: TicToc on Aug 17, '05 07:18:59AM

Thanks - that worked :) Mind you, I still can't get a man page...
Cheers,
tt



[ Reply to This | # ]