Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 130053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T05:53:14+00:00 2026-05-11T05:53:14+00:00

I need to run Perl applications I develop on cygwin Windows on HP unix

  • 0

I need to run Perl applications I develop on cygwin Windows on HP unix / Solaris hosts. I am not a superuser on the unix machines and I can’t touch the default Perl module location nor can I install modules to the default Perl module location. Also the unix installation lacks most basic modules and I can’t change that.

For example, I have a Perl application that needs Expect which has native C compiled parts to it. How would I roll out this application to unix with its required dependencies without having to install anything else on that box?

Is there way to build the entire Perl application under Cygwin Windows and then just roll out one executable to unix and run it from my home directory there?


EDIT addition based on answers so far:

Thanks in particular to brian, the local LIB dir solution seems to work in case of native Perl, but in case of Perl module needing C components, cross platform compiling, ie compiling on cygwin to run on Solaris, is not really possible as I feared.

However would having an other linux installation help, i.e. would this be possible easier between different flavors of Unix like package Perl on linux and then deploy to Solaris/HP? And what about something like lcc ?

Also I’d still like to hear little more if somebody has rolled out a native Perl package on Windows that includes all dependencies for a complicated Perl app that can then be moved to unix as just one file? (I do now understand that it won’t work in case native C code is included like in in Expect.pm, but what about in case of app only using pure perl modules?)

Basically for many reasons I am trying to minimize time I need to spend being logged into these ‘production’ unix hosts and do as much as possible locally beforehand.


Added a new cross-compile question, since I felt I was maybe veering too far from the original perl question.


EDIT — Par looks promising for pure Perl, although same deal, it doesn’t look to solve the cross platform compile problem for native extensions

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T05:53:15+00:00Added an answer on May 11, 2026 at 5:53 am

    In this case, I’d consider delivering a complete application complete with its own Perl. You get to choose any version you like and any modules you like. Compile everything, organize everything into a directory, then tar the result. To deploy, copy the file and untar. Use the advice that others have already noted about library search paths, etc. In essence, your application gets its own stack.

    Now, the trick there is the cross compilation. Why are you developing on Cygwin? Is that a target too? Is there a reason you don’t have an HP/UX or Solaris development machine? What architecture are you targeting (RISC, SPARC, Intel, etc). If you can’t get hardware to run those, get some virtual machines for your targets and develop there.

    Aside from that, you can install modules anywhere you have permissions. See perlfaq8:

    • How do I keep my own module/library directory?
    • How do I add the directory my program lives in to the module/library search path?
    • How do I add a directory to my include path (@INC) at runtime?
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 254k
  • Answers 254k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Change your Main() method in Program.cs to display the login… May 13, 2026 at 10:07 am
  • Editorial Team
    Editorial Team added an answer Are you in timezone GMT+1? May 13, 2026 at 10:07 am
  • Editorial Team
    Editorial Team added an answer If I understand you correctly, you are probably getting the… May 13, 2026 at 10:07 am

Related Questions

I am writing a set of database-driven applications in PHP. These applications will run
I have a C application and I want to include a Scripting Language to
I need to write some scripts for WinXP to support some of the analysts
I'm looking for some software that allows me to control a server based application,

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.