New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HP-UX support #58
Comments
❦ 2 avril 2014 09:50 CEST, Yannick Charton notifications@github.com :
Maybe that's not very hard to add support for HPUX, maybe not. You can virtual machine?Make sure your code "does nothing" gracefully. |
Hi Vincent,
Unfortunately, the make part failed, mainly with "priv.c:254:2: error: #error Unsupported OS":
I've done some changes in src/daemon/priv.c, intruducing HOST_OS_HPUX:
But the compilation failed again:
Best regards, |
For your info, I've added the following line to m4/os.m4: |
❦ 2 avril 2014 11:07 CEST, Yannick Charton notifications@github.com :
That's the right way.
Try file. Otherwise, just replace AF_LOCAL by AF_UNIX.Use data arrays to avoid repetitive control sequences. |
(you've hit critical mass when people go for HP-UX support) |
I've replaced AF_LOCAL by AF_UNIX in priv.c, the compilation went a step ahead, but some other compilation issues. The err.h header file cannot be found apparently. Is it normally part of the sources?
|
For your information, availability of the err.h file:
On HPUX11.31
So, no err.h on hpux. Best regards, |
You can remove the |
Thank for the info. err.h removed. So the compilation still stops here:
I tried some code changes, but my c skills are too light... So I couldn't fix the problem. |
I had the same problem with Solaris. Could you grep in
|
Indeed, I would say it is supported:
No manual entry:
I added the 2 variable definitions, the compilation went further, but returned finally the following errors:
Best regards, |
OK, now comes the hard part. :) You need to modify For other problems:
|
Never mind for |
The "other" problems should be fixed in git HEAD. |
Hi Vincent,
BR, |
For the first error, it is a late change that I didn't test. The second one should also be solved by including a missing header ( However, keep in mind that's the "easy" part. The remaining part (network stuff) will be far harder except if HP-UX behaves exactly like one of the existing BSD. A (non-root) shell would help. |
Hi,
This project looks very nice!
It would be great to see it working on HP-UX platforms.
I tried to compile it (even if the platform is not supported), but it stop at
checking if host OS is supported... no
configure: error: *** unsupported OS hpux11.31
Every other checks are ok.
Best regards,
Yannick
The text was updated successfully, but these errors were encountered: