Installing standard Unix software

I'm not sure I know the right question to ask...maybe someone can help me. What I'm eventually trying to do is to work with a Perl-based system on my Mac (Mac Snow Leopard); I need the Apache2 Perl .pm files available. They seem to be in /System/Library/Perl/Extras/5.10.0/darwin...but although this is in my path, referencing the packages as Apache2::Request (for example) does not work because of the path names of the library.
I've tried installing Apache from source, and make install appears to get confused by the fact that there's already an Apache installation that ships with the OS.
I'm sure there are lots of things I just don't understand here. Can someone point me at a resource that explains how the Apple versions of Unix software interact with potentially newly-installed versions (or explain it to me)? How much trouble can I get myself into by installing packages (Apache is the example above, but there are/may be others) that ship also with Mac OS? Should I be starting by re-installing Perl from scratch, changing my Perl include path, and pretending all the Apple software just doesn't exist? Should I just go buy a Linux box?
Thanks.

rm50 wrote:
First, the Apache2::Request library is still (not surprisingly) not findable by Perl, since it doesn't live in my standard INC. That seems odd (it lives in /System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level/DBI/Gofer). Is there something going on, or should I just make sure my @INC points there?
It doesn't live there. It isn't installed at all. I had to install it via:
sudo perl -MCPAN -e 'shell'
install Apache2::Request
At some point, it stopped and asked me if I wanted to run the tests. The first time I accepted the default and the tests failed. Then I did the install again and it quickly got back to the point of asking about the tests. This time, I told it to skip the tests. Those CPAN tests often fail due to very specific configurations required.
Then I added a new script to test this module:
use Apache2::Request;
$req = Apache2::Request->new($r);
@foo = $req->param("foo");
$bar = $req->args("bar");
$req->content_type("text/html");
$req->print("Bar is $bar
It failed. After a little Googling it appears you need a specific module to support this. That module seems to be there already, so I added it to /etc/apache2/httpd.conf.
LoadModule apreq_module libexec/apache2/mod_apreq2.so
Restarted Apache and it worked this time. Moving on...
Also, when I tried to install XML::LibXSLT, the perl makefile complains that I only have version 1.69 of LibXML, not 1.70. Can I safely install the 1.70 LibXML.pm on top of the 1.69 that lives in my system area, or should I put it somewhere in my INC path before the system version? What would you suggest?
Actually, that was just a warning. I let CPAN run and I now have LibXML. CPAN appears to put things into /Library/Perl. That seems like a logical place. On MacOS X, while there is a /usr directory, there is also a MacOSX equivalent /System. The same goes for /usr/local. Things that you might expect to go into /usr/local might sometimes be in /Library. I guess it depends on how "Mac-friendly" a particular package might be. Many are too difficult to reconfigure and are better left to /usr or /usr/local. I haven't tested XSLT or XML because I don't have any XSL files handy on this machine. But I don't expect it to have problems.
Keep in mind that if you intend to deploy anything on a different system (such as a shared hosting provider), that other system must have the same modules. The big web hosting companies usually have all the bells and whistles, but you never know. You usually cannot install Apache modules or make most system configuration changes on a shared provider.
You can install CPAN modules anywhere you want and tell Perl about the new library path. I normally do that rather than just letting CPAN do it all, but this is a throwaway 10.6 install on this machine so I don't care. I like to keep my Perl projects as self-contained as possible. I don't think that is really possible with mod_perl though.

Similar Messages

  • I can't get the CS4 Design Standard to download onto my computer... I just purchased a new MAC and I can't install my old software.

    I can't get the CS4 Design Standard to download onto my computer... I just purchased a new MAC and I can't install my old software.

    I'm having the same issue. All my applications transferred over. Lightroom is working, but when I went to edit a picture in Photoshop, I got an error message. It told me to restart, but the program still won't open after restart. It says licensing has stopped working, but what does that mean? I can't tell whether it's unsupported/blocked, or if it's a malfunction. The error code is 150:30 See screen shot.

  • Adobe Standard 9 software

    i have the adobe standard 9 software - purchased it in a store.  I changed PC's and need to install the software on my new computer but don't have the CD anymore, although i have the serial number.
    How do i get the software installed on my PC?

    Download the trial version from http://prodesigntools.com/all-adobe-cs5-direct-download-links.html - make sure you follow the very important instructions on that page.
    On the other hand I see only the Pro version for download; not sure if you can use the Std serial number with the Pro version.

  • Constant crackling/pop + inability to install standard drivers + audio loss

    Oh Lord, what a disaster Creative is. I have a Creative X-Fi XtremeGamer Fatalty Pro that worked fine under Windows XP for four straight years. Then on the fifth year when I upgraded to the Windows 7 x64 Beta it ceased to function. It never continued to work with the Release Candidate, RTM or Retail versions so I just gave up until a few days ago when I thought maybe Creative or the community fixed some of my issues...
    Hah, fat chance. Anyways it all began with severe audio distortions, pops and crackling that would sometimes end in a flat-line tone or eternal static. No matter how many times I reinstalled my drivers, used older drivers or used user remedies nothing worked. So I just gave up, took out my sound card and sucked it up with my Realtek integrated motherboard audio (eugh).
    Well I can't stand it anymore. I'm too much of an audiophile to settle for anything less so I tried my sound card out again. I still had the same problems only now I can barely install any Creative drivers as the installation will constantly ask about a file called layout.bin.[url="http://consumerdocs.installshield.com/selfservice/viewContent.do?externalId=Q0892&sliceId=" rel="nofollow"> I followed this solution[/url] but it does not work at all and there are no other responses on the issue.
    But that's OK because I can still install the base X-Fi drivers. Unfortunately it never resolved my issue. Older drivers do not work. There's nothing other than crackling and popping and then an utter loss of audio. Then I heard about Daniel_K and used his drivers (X-Fi Prelude Beta and X-Fi Support Pack 2.0). I was elated when everything installed without a single issue and the audio was perfect... until after maybe an hour when the crackling came back. Then it started getting progressi'vely worse until you can't even decipher what's being heard. I tried a couple reinstalls which would fix the issue for a short spell but then it'd degrade exponentially from there.
    On top of that I couldn't use any of the Creative software with either Creative's drivers or Daniel_K's. It would never detect my sound card even though Windows had no problem seeing it. So I spent literally 5 hours of my day prowling these forums, Google and my own experiments with no luck.
    So rather than looking for a solution I'm just gonna ask for one. I have an EVGA 680i motherboard, Intel Core 2 Duo E6600 @ 3GHz, ATI Radeon HD 5850, 6GB RAM, Creative Sound Blaster X-Fi XtremeGamer Fatalty Pro and .5TB HDD space.
    I know Creative stated that nForce motherboards might have an issue with the X-Fi but I've never had that problem with XP and I heard it's found in many other boards from different manufacturers. Creative also stated problems with more than 4GB of RAM but I've disabled all but 3.5GB of RAM with no success. I know Creative states that this is a PCI issue and that I should mess around with my BIOS settings. Updating my BIOS, disabling unneeded BIOS features, changing PCI slots and getting rid of my overclocks did nothing.
    I [b][u]KNOW[/u][/b] that it's [color="#ff0000"]not a defecti've card. Everything works 00% with Ubuntu 9.0. Thanks for your time. I'm probably just wishing for gold to pour from the heavens and wasting my time. =(

    ORe: Constant crackling/pop + inability to install standard drivers + audio loss? Alright, don't ask me how but I managed to mostly fix my crackling and popping issue. I fixed it with a combination of rearranging all of my hardware to different slots and reinstalling my drivers for the th time, only this time mashing Daniel_K's drivers with Creative's.
    Now getting the drivers to work is another thing. I have sound and it's superb (the only reason why I'm willing to sacrifice so much of my time to get this to work) but I cannot get any other function out of my X-Fi. I can't open up the console, switch modes, enable effects, etc. Also, if I ATTEMPT to screw around with any audio settings my computer will start crackling like the devil and all of my hard work will be undone, prompting another reinstall requiring the utter removal of anything Creative on my PC to work.
    Now I think the reason for this is because whenever I try to install any Creative software from Creative themselves (except the driver) it won't install. It will ask about a layout.bin, I would point the installation to where layout.bin is but then it'd give me an error (Error I-00). According to my install.log I'm missing something called CTShared. I try installing it but it doesn't seem to fix my problem.
    Also, installing ALchemy will tell me that it couldn't create a shortcut after installation and will not work. Sometimes the installation will say that there is a newer version of a product and that it won't install even though there is no trace of anything Creative on my computer.
    Now Daniel_K's drivers and software install fine, but the software WILL NOT detect my sound card. It will constantly tell me that the audio device wasn't found or that it's not installed. Windows sees it fine, though, and I get perfect audio. So I mashed Daniel_K's drivers with Creative (long process) and everything installs fine, everything looks to run fine but for some reason nothing will start up. So so much for my own modding attempts. >_<
    Any solutions?

  • Collecting Unix Software Inventory Information?

    I have imported the server names of 155 servers. I have successfully collected the server hardware information, but very limited software information. I am looking for version and COTS software installed, not just the base unix software stack. Any suggestions on adjusting the scripts to be able to collect this detail level of information?

    Take a look at that device in Resource Explorer.  Notice that on a 64-bit device there is an 'Installed Applications' class and and 'Installed Applications (64)' class.  This data comes from the registry, and on a 64-bit operating system there
    are actually two separate 'Add/Remove Programs' lists that are aggregated in the OS user interface.
    If in Resource Explorer you see all of the software you expect to see, but not in the report, it is likely because the report is only looking at the 'Installed Applications' class and and not 'Installed Applications (64)' class.
    If you enable the 'Installed Software' class (either by going into the client settings or the AI node), you will notice that the 'Installed Software' class is a combined version of both the 32-bit and 64-bit applications.  This is much easier to report
    off of.
    I hope that helps, 
    Nash
    Nash Pherson, Senior Systems Consultant
    Now Micro -
    My Blog Posts
    If you've found a bug or want the product worked differently,
    share your feedback.
    <-- If this post was helpful, please click "Vote as Helpful".

  • Since I installed a printer software Satellite L300 has stopped working

    Hello there!
    I'm new here so not really sure if I'm posting in the right place. Mods, please feel free to move to the relevant section, thank you.
    OK I have a Toshiba Satellite L300 Laptop and ever since I installed a printer software on Wednesday night, my laptop has suddenly stopped working!
    Ever since Thursday night, I have been trying to get it working but I'm faced with this message:
    when i load it up it goes to Windows error recovery:
    'windows has failed to start.a recent hardware or software change might be the cause
    if windows files have been damaged or configured incorrectly,startup repair can help diagnose and fix the problem.if power was interrupted during startup,choose start windows normally'
    then it gives two options: Launch startup repair (recomended)
    start windows normally
    ==========
    -so i click launch startup repair (reccomended)
    -then a scren loads up called 'system recovery options'.. it says: select an operating system to repair and click next.only windows vista operating systems are listed and can be repaired
    if you do not see your operating system listed, click load drivers to load drivers for your hard disks'.....
    but nothing comes up so i click load drivers and it just gives me loads of random folders...and i haven't a clue which ones to load
    ========
    5 years ago Report Abuse
    Additional Details
    so i just click 'next'
    ========
    then i have 5 options:
    -startup repair
    -system restore
    -windows complete pc restore
    -windows memory diagnostic tool
    -command prompt
    ==========
    startup repair says it cannot manually fix any problems
    -system restore just says your computer is in a limited state and performing this action cannot be changed...but there is no option to do so
    -windows comple pc restore says i need to insert a backup disk which I dont have
    windows memory diagnostics tool says that windows is preventing this
    ============
    but on the system resotre it tells me to type something like: rstrui.exe /OFFLINE:C:\Windows
    but i don't know where...i typed it in the command prompt but don't understand how to use it
    =========
    i also tried to click start windows normally but it won't work

    If the problem is installed software, start notebook in safe mode and try to start system restore from there.
    Please let me know which options are available. Can you roll back OS few days back?
    Are some restore points listed there?

  • I just installed the latest software update and now I can't open Mail 4.5 on my Mini 2,1. How do I re-install Mail?

    I just installed the latest software update and now I can't open Mail 4.5. This is a Mini 2,1 using OSX 10.6.8.

    Try re-installing the big 10.6.8 Combo...
    http://support.apple.com/kb/DL1399
    Repair Permissions afterwords, reboot.

  • I Installed the Apple Software Installer 1.0 Update Tonight

    Hello-
    I am not sure if this latest Software Update messed things up, but there are a lot of problems with my MBP now that I just noticed tonight after I installed this Apple Software Installer Update 1.0.
    First off I am unable to watch any of the online videos like CBS nightly News, some of the BBC News Videos, as far as I can tell anything that shows its content on a video screen from the companies website.  I updated Flash Player about 2 weeks ago to the current version because I started keepng Flash updated to the current version, someting I wish I would have never started.  when I went to CBSnews.com, clicked on CBS Evening News, nothing  (not even a video screen) shoes up but in small letters it says Please Upgrade Your Adobe Flash Player. According to adobe Flash (current versions for MacOS-Safari) I have the correct Flash version and I have watched these news broadcasts seveeral nights on ABC, CBS, and many other videos on mostly news websites.  On ABC I noticed it tonight since I installed this Apple Software Installer 1.0 Update, it shows a blank video screen but in the middle it says, "This content requires Adobe Flash Player - Ver 10.1. (on top) and on the bottom is a link that says " Click here to get the latest version of Flash." 
    The latest version of Flash for a Mac using Safari is what I installed about 2 weeks ago and is 11.1.102.64.  I am not sure what ABC means by 10.1.  The versions confuse me, especially if I look in Safari under "Help"--> "Installed Plug-Ins", it usually just gives the first couple of numbers, but now I cannot even bring up "Installed Plug Ins" under Safari---Help---Installed Plug-Ins.  it just gives me a blank screen.
    Is it possible to uninstall an installed update?  it is a major deal.  any suggestions on what I should try?  I know people who hate Adobe Flash (seems like there are a lot) will say get rid of Adone Flash.  But whay would it stop showing me what is on the Installed Plug-Ins Page?  Before, I just did this the other night, I open a new tab, go to Help on Safari's Menu bar to Help, then Installed Plug-Ins and it usually fills up the blank New Tab page with all the Installed Plug-ins.  Down toward the end it will show me that Shockwave Player, I think Mac calls it is installed, and it just gives the first few numbers of the current version that is installed.  Now I get no Installed Plug-Ins.
    thanks for any assistance.  I looked up in the suppot articles how to uninstall an installed Update.  I was going to repair permissions, but I have only ever done that using the Operating Disk.  that is how I was taught by a genius bar person several years ago, and I just kept up with it.  when I repair permissions using Disk Utility from the dock, let's say I do a test run and 20 permissions come up, I repair them and nothing changes, but if I use the OS disk and repair the permissions, if there are a lot it will get rid of them all but it usually takes 2 runs at it.  I know this is different from what most others say,

    I use Firefox 95% of the time, and there's no problem with flash content (and I'm still at .55 - downloaded .64 last week but I haven't got round to making the change yet). At the rate they've been changing it recently it may well be out of date already .
    I've been trying it in Safari, too with no problems apart from You Tube, but that's because I'm blocking Google cookies.
    One thought does occur - if your Flash preferences are set to block all Local Storage, it may be that the problem site is trying to use Flash cookies (LSOs). I had this problem recently with the BBC iPlayer streaming content. Little Snitch notified an attempt to connect to a new URL - emp.bbci.co.uk.
    If I disallowed it, no streaming; when I allowed the connection, it still wouldn't stream, so I did a bit of digging and came to the conclusion that it was trying to set a Flash cookie. When I unblocked, lo and behold - streaming resumed as normal.
    I now have LSOs blocked in a more subtle way that lets the site think it's being set (but it ain't) and the streaming still works.
    As for permissions repair - always repair from local; the permissions on the original disc will have been superceded by updates and new installations of Apple software.
    DU needs to be reading the packages on the HD, not the (now out of date) install disc.
    The recurring repair messages are normal and don't mean anything's wrong. As long as the final message is 'repair complete' there's no need to dwell on it.
    http://support.apple.com/kb/TS1448 (for Leopard and Snow Leopard - Lion no doubt has it's own set).

  • If I were to purchase the Apple Remote Desktop with Unlimited licenses, would I be able to install the client software on each of there computers/laptops and have them remote desktop into the server?

    I have several friends and family who are looking for a central place to access information from ( Pictures, home movies etc ).  So I am considering setting up an OSX Lion Server.  There are some other things I can use it for as well.
    Here is my question:
    If I were to purchase the Apple Remote Desktop with Unlimited licenses, would I be able to install the client software on each of there computers/laptops and have them remote desktop into the server?  Or would I have to install the Admin software on each?  Do they intend it to be used strictly as one admin to access many clients? 
    I always could set up a network drive so they can log in and just see the folders they have created with space on the server I provide them.  But I want them to be able to log an and actually use it as a Remote Desktop.
    Thanks,
    Eric

    Dave,
    Thanks for the feedback.  I understand that ARD is meant for Remote Administration, but I was not sure if it could be used for my purpose as well.  The reason I was looking to do it this was was because I read several articles online about security and performance issues with setting up VNC and activating screen sharing.  Unless I am misunderstood. 
    As far as people's activities on the server, mostly it is going to be used as a place for them to store their media.  I will only allow own person ( Who I trust and I know wont botch the server ), to run applications.  Everyone else will be restricted to uploading and downloading content to their designated account on the server as well as a community share on the server.
    I appreciate your help.
    Thanks,
    Eric

  • Can I set up a new Mac Pro late 2013 using a Wacom Cintique 13HD tablet as the default monitor? How would I install the driver software for the tablet?

    Can I set up a new Mac Pro late 2013 using a Wacom Cintique 13HD tablet as the default monitor? How would I install the driver software for the tablet?

    The wacom site will have the drivers for you.
    http://us.wacom.com/en/support/drivers

  • Hello, I need help with my macbook pro. It looks like I cannot install anything anymore. Everytime I try to install a new software, use the migration assistant or click the lock to make changes, it simply does not react.

    Hello, I need help with my macbook pro.
    It looks like I cannot install anything anymore. Everytime I try to install a new software, I simply get stuck during the installation type process. I put in my password, it does accept it, but it does not go any further.
    I tried to reset the password, put no password, repair the permissions, the disk but nothing will do. I nearly got stuck with the log in screen but finally succeeded in disabling it.
    So I thought I might try to create a new account but I cannot click the lock to make changes. It simply refuses to react.
    I am now thinking about using the migration assistant to save all my settings, data and so fourth, but again I get stuck when I have to type in my password. It accepts it but nothing happens...
    I guess it has something to do with the authorization process, but can't find anything on the internet about it... Can you help me out?
    I am running Lion 10.7.3.
    Regards,
    Nicolas.
    (I apologize if any grammatical/structural mistakes were to be found, english is not my mother-tongue. )

    You probably won't like this suggestion, but I suggest you reinstall Lion.
    First, backup your system. Next, reboot your system, press/hold the COMMAND-R keys to boot into the Recovery HD. Select 'Reinstall Mac OS X'. If you purchased Lion as an upgrade to Snow Leopard, the reinstall process will install Lion 10.7.3. If your system came preinstalled with Lion, you might still get Lion 10.7.2. Both installs are a total install of the OS. None of your apps or data will be impacted. Just the OS.

  • Due to virus attack i had to format my windows laptop...now when i installed new itunes software i had to sync my ipod touch again but it says that if do the same then the data on my ipod touch will be erased....how should i protect my ipod touch data?

    due to the virus attack i had to format my windows laptop...now when i installed new itunes software i had to sync my ipod touch again but it says that if i do it then the data present on my ipod touch will be erased as it is syncd to some older library... how should i protect my ipod touch data?

    With all you media (apps, music) in the iTunes library connect the iPod to the computer and make a backup. Do that by right clicking on the iPod under Devices in iTunes and select Back Up. Then restore the iPod from that backup.
    Note the the iPod backup that iTunes makes does not included synced media like apps and music.

  • TS1702 After installing the new software to my iPhone 4S , my dream zoo either will not start or when it does it has a blank screen that has a few icons on it that wont work. How can I fix this is it possible to go back and reinstall the older software ?

    After installing the new software to my iPhone 4S , my dream zoo either will not start or when it does it has a blank screen that has a few icons on it that wont work. How can I fix this is it possible to go back and reinstall the older software ?

    Unfortunately I tried that and it didn't work. Thanks for the help though. I tried to uninstall and it said I couldn't because the file is corrupt or something, but I think I finally got it uninstalled and/or deleted or whatever, but now I try to reinstall/download it again from the beginning and I can't. No matter what I do I can not get Firefox working again. No matter how many times I try to redownload it. Any other suggestions?

  • Can I install 'Cisco connect' software on more than one PC in the network?

    Can I install 'Cisco connect' software on more than one PC in the network? Do multiple installs conflict? Who did try this before?

    yes you can
    SAP

  • I have a g4 running os10.4.11, i bought a epson workforce 1100 and tried to set it up but there is not a listing for it when i try to add it before installing the driver software from the supplied cd...anyone know what i can do to get it set up?

    i have a g4 running os10.4.11, i bought a epson workforce 1100 and tried to set it up but there is not a listing for it when i try to add it before installing the driver software from the supplied cd...anyone know what i can do to get it set up?

    Load the drivers and you should then be able to add it in Print Center.

Maybe you are looking for

  • Regarding upgrade of web report\web templates functionalites BW 3.5-BI 7.0

    hi all,          I m working on a Upgrade study from BW 3.5 to BI 7.0 for Web Templates,web items and java scripts. Below is the scenario of the client system: New web templates are created from the 6 master web templates available for publishing to

  • Unable to connect to bose system

    New Iphone 5 unable to connect to car phone or bose system, no problems with Iphone 3g.

  • Viewing multiple replies

    Does anyone know if there is a way to easily view multiple replies? For example: When I reply to an email a semi-circular arrow appears at the far left next to the name of the person who sent the e-mail. Or if an email is forwarded a straight arrow a

  • Can i re-link a bank account that i've closed?

    okay, so basically this is my first time using paypal. i have everything set up okay until i tried to link my account. i waited the 2-3 days and didn't see any deposits to my account. so, thinking i did something wrong, i removed the account only to

  • Reset SMTP Password

    How do I reset my password when I get this prompt: "The SMTP server "smtp.me.com" rejected the password for user"