- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP-UX to Linux Red Hat
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 09:52 PM
12-14-2005 09:52 PM
we should port an application from HP-UX to Linux Red Hat.
The application is composed of:
* C/C++ code, compiled through the default C compiler
* Korn Shell scripts (a lot of them)
* PERL scripts
* TCL/TK scripts
Which are the main difficulties we could meet?
Are there any documents helping us in the migration job?
Regards
Enrico
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 10:08 PM
12-14-2005 10:08 PM
Re: HP-UX to Linux Red Hat
ksh will not a problem, it will work with out any problem.
For C you have to compile once again.
I am not sure about perl and not seen the last one...
Things to remember,
Ensure that you don't have any hardcoing like, OS name, ID, IP, Hostname etc.
007
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 10:24 PM
12-14-2005 10:24 PM
Re: HP-UX to Linux Red Hat
There should not be issues with perl and tcl/tk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 10:32 PM
12-14-2005 10:32 PM
Re: HP-UX to Linux Red Hat
From my porting experience, there won't be any issues with Perl and TCL/TK Scripts. In C/C++, you may need to locate correct headers in Linux and may require some minor changes in source code. Just try to compile with GCC and let us know the results, so that we can help you further from ITRC.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 10:54 PM
12-14-2005 10:54 PM
Solutionhttp://www.portinggurus.com/2_6.asp
http://www.portinggurus.com/1_36.asp
http://www.redhat.com/support/wpapers/devintro.pdf
http://h21007.www2.hp.com/dspp/topic/topic_DetailSubHeadPage_IDX/1,4946,1-10314-TECHDOCUMENT-40106,00.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2005 11:15 PM
12-14-2005 11:15 PM
Re: HP-UX to Linux Red Hat
With the right compiler, most of your code should port without too much difficulty. You'll probably have to adjust some code and header files to Linux.
I've run thousands of shell scripts back and forth between the platforms and run into very few problems. Usually those problems are small, like a different set of options on the ping command and such.
Some resources:
http://devresource.hp.com/drc/resources/LPK/index.jsp
Interesting paper on IBM
http://www.ibm.com/servers/enable/linux/pdfs/unix2linux.pdf
tools:
http://searchopensource.techtarget.com/featuredTopic/0,290042,sid39_gci1044568,00.html
http://developer.novell.com/wiki/index.php/Porting_and_Migration_Tools
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2005 12:36 AM
12-15-2005 12:36 AM
Re: HP-UX to Linux Red Hat
Which C compiler are you using on HP-UX, you will probably be using the gnu compiler on linux so you will probably have a few compiler issues from library names and differences in function call formats and names.
The perl and tcl should convert quite nicely unless you have calls to OS programs then you may have the same issues as with the ksh scripts
The korn shell stuff will mostly port with no problem. The exceptions will be any reference to hardware. Linux (or any other unix) doesn't use the same names for all the hardware. The lvol names or tape drive name or in some cases even the tty names could be different so they will have to be updated.
No port across platform is really easy but from one unix to another is usually less an issue than something like mac to windows is.
Oh yea, there will be several things you didn't think would be a problem. There always are.
H