Man Pages when installing from source

Hello,
Whenever I can, I prefer to install applications by source following the steps:
1. sudo ./configures --prefix=/usr/local/app-name
2. sudo make
3. sudo make install
Everything runs fine (the only difference is the prefix parameter), but the applications is not automatically added to the PATH.
If the app should be available to all users I create a symbolic link in /usr/bin pointing to /usr/local/app-name/bin. If it is just for a single user, I added the location to .bash_profile file of the user.
Now I noticed that the man page of the app-name is unavailable, because the man page file is installed in /usr/local/app-name/share/man, in a location different from the rest.
Can someone help me to fix the linkage of the man pages? Where does the man command reads from by default?
Note: I prefer to install with --prefix to /usr/local/app-name because it's easier to remove the entire application when I don't need it.
Thank you.

Yeah... it worked like a charm!
Thank you Zerwas.
I marked as Solved but what if we want the man page to be available to all users without the need to edit .bash_profile? Can we create a symbolic link somewhere? (like I do with the /usr/bin) Certainly there's a default folder for man pages.
Thanks again.

Similar Messages

  • CommandAction works through OnDeviceDebug, but not when installed from jar

    Hi everybody,
    I'm trying to run a HelloMIDlet example and if I run it on emulator it works fine, also when I run it on mobile through OnDeviceDebug from eclipse it works fine, but when I install a jar file and run the application it ends with Application Error message and it exits. I found out that the problem might be in the CommandAction method, because when I use this:
    public void commandAction(Command c, Displayable s) {
              notifyDestroyed();
    }then the application works also when installed from jar, but when I use this:
    public void commandAction(Command c, Displayable s) {
       String label = new String("Exit");   //just for test
       if (label.equals("Exit"))
         notifyDestroyed();
    }then it ends with Application Error right after I run the program (and it works when I use OnDeviceDebug). I'm using jdk1.5.0_06 and WTK from Sony Erricsson (my target device is W800i, which supports CLDC1.1 and MIDP2.0)
    My manifest file is
    Manifest-Version: 1.0
    MicroEdition-Configuration: CLDC-1.1
    MIDlet-Name: HelloMIDlet
    Created-By: Sun Microsystems Inc.
    MIDlet-Vendor: Sun Microsystems, Inc.
    MIDlet-1: HelloMIDlet, , HelloMIDlet
    MIDlet-Version: 1.0
    MicroEdition-Profile: MIDP-2.0
    MIDlet-Description: Hello Worldand I don't use the jad file when installing the application (seems to be unecessary when you have a manifest file inside the jar). And I'm unable to debug it because when debugging then it works normally. Also I tried to recompile the BluetoothDemo and the same error(and works through OnDeviceDebug). And when I installed the jar file, which is originally distributed with BluetoothDemo then it worked. When I compared original jar file and my jar file then the only difference was in the size the class files (class files compiled by me were bigger then the class files in original jar file (which work)).
    Any ideas guys and girls?

    I tried that approach but it doesn't work either. I think maybe my directory structure is wrong.
    C:\IRS\IRS.jar
    C:\IRS\irs.hs
    referenced: jar:file://C:/IRS/IRS.jar!/irs.hs
    Am I doing this right?

  • Is installing from AUR similar to install from source?

    I wonder if installing applications from AUR is similar to installing from source? Recently I have a problem where Eclipse SWT embeded browser is broken and 1 solution is installing firefox from source. So I wonder if installing from AUR is similar as installing from source?
    StackOverflow question about broken SWT Browser

    You may also be interested in ABS.  ABS is the official build system for Arch.  Things supported by Developers go into Core and Extra, things supported by trusted users go into community.  To get the packages for the extra (which is where firefox lives), install and run (as root) abs.  Then the build stuff for firefox will live at /var/abs/extra/firefox
    ewaller@odin:/var/abs/extra/firefox 1021 %ls
    firefox.desktop firefox.install firefox-install-dir.patch libvpx.patch mozconfig PKGBUILD vendor.js
    Looking at the PKGBUILD, that package does compile from source.  Copy the directory to a user directory, enter that directory, and you can build your own copy with makepkg.  You can then install the package with pacman -U
    If you need to change something, change the files in your local copy.
    This is not that tough, but it is most definitively not a project for a beginner.  The documentation you need is out there, you will need to do your research.

  • Wheres the old network documentation when installing from 2010 source?

    wheres the old network style wiki resources for users who install from a 2010 source?  Im installing from a 2010.05 core, and it uses the old network config in rc.conf. 
    example
    #rc.conf
    INTERFACES=(eth0)
    eth0="dhcp"
    gateway="default gw 192.168.1.254"
    ROUTES=(!gateway)
    #resolv.conf
    nameserver=8.8.8.8
    nameserver=8.8.4.4
    i can ping my gateway and lan members, but i cant ping 8.8.8.8, so that makes sense why i cant ping google.com
    am i just not adresing all the conf files, or is this a gateway issue?  also, i couldnt get dhcp to work.  I set it that way first, it wouldnt not grab an ip.  Then once i set it static, and then back to dhcp, it reverts to the static ip either way.
    [we really need a resource that shows up on a google search of "arch ROUTES(", or "arch ROUTES(!gateway)", or "arch INTERFACES=" because if users only have access to an older install source (i left my newer source at work, doh), we want them to be up and running, and updated right away]
    Last edited by wolfdogg (2012-03-10 22:11:16)

    wolfdogg wrote:[we really need a resource that shows up on a google search of "arch ROUTES(", or "arch ROUTES(!gateway)", or "arch INTERFACES=" because if users only have access to an older install source (i left my newer source at work, doh), we want them to be up and running, and updated right away]
    Patches welcome :-)
    https://wiki.archlinux.org/index.php?ti … did=111704 - it's not pretty, but you can look at the code:
    ==Networking==
    * {{Codeline|[[HOSTNAME]]}}: Set this to the hostname of the machine, without the domain part. This is totally your choice, as long as you stick to letters, digits and a few common special characters like the dash. Don't be too creative here, though, and when in doubt, use the default.
    * {{Codeline|INTERFACES}}: Here you define the settings for your networking interfaces. The default lines and the included comments explain the setup well enough. If you do not use DHCP to configure a device, just keep in mind that the value of the variable (whose name must be equal to the name of the device which is supposed to be configured) equals the line which would be appended to the {{Codeline|ifconfig}} command if you were to configure the device manually in the shell.
    * {{Codeline|ROUTES}}: You can define your own static network routes with arbitrary names here. Look at the example for a default gateway to get the idea. Basically the quoted part is identical to what you'd pass to a manual route add command, therefore reading man route is recommended if you don't know what to write here, or simply leave this alone.
    * {{Codeline|NETWORKS}}: This enables certain [[network profiles]] at boot-up. Network profiles provide a convenient way of managing multiple network configurations, and are intended to replace the standard {{Codeline|INTERFACES}}/{{Codeline|ROUTES}} setup that is still recommended for systems with only one network configuration. If your computer will be connecting to various networks at various times (e.g., a laptop) then you can configure profiles in the {{Filename|/etc/network.d}} directory. There are template files included in {{Filename|/etc/network.d/examples}} that can be used to create new profiles.
    Remember to read all the news back to mid-2010: http://www.archlinux.org/news/

  • Blank configuration files when installing from CD

    I have archlinux already running on 2 computers, where have used the ftp installer, and I have not had any big problems installing with that.
    But I have a computer only connected to the internet through wireless, which is why I would like to install from CD sources from the core installer cd, so I can configure wireless after installing.
    I have tried this now on 2 different computers and on both I have problems when I come to the step for configuring the system.
    The files are simply blank!
    I found another having this problem in 2004 I think in this forum. He was told that this can only happen if you forget to choose DONE in some step or go back to an earlier step when going through the installer.
    I have tried now 3 times and really taking care to do everything right.
    I hope someone can tell me what I may be doing wrong or what the problem might be.

    Kabi wrote:Now on the same computer I did a ftp install using jfs and no problems....
    makes u wonder, I wonder if the CD would work with another file system, like ext3? If not could be that the CD is just bad in one way or another.
    that's the only guess I have if it isn't the jfs file system.

  • How to print within the margins of the page when printing from iPad to HP Envy D410a?

    When I try to print something from the iPad, either the 1 or the 2, the result is that the image sent from the iPad is printed Borderless, which of course results in parts of the print being cutoff, is there someway to resize the print through the printer, since the iPads don't have drivers?
    Also, I seem to have a similar problem when printing from my PC, only in it's case the resulting print is smaller, it seems to print into a margin size of 1" on all sides. The only app that I have found that lets me override this is Adobe Reader which has the page scaling options.
    All suggestions will be appreciated. TIA.
    Stephen.
    This question was solved.
    View Solution.

    You may download HP iPrint software to edit margins & borders:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01616126&lc=en&cc=au&dlc=en&product=4073738
    Although I am working on behalf of HP, I am speaking for myself and not for HP.
    Love Kudos! If you feel my post has helped you please click the White Kudos! Star just below my name : )
    If you feel my answer has fixed your problem please click 'Mark As Solution' and make it easier for others to find help quickly : )
    Happy Troubleshooting : )

  • [SOLVED} How to install from source

    Hi,
    I'm trying to install Wittfella's qtfm from source and I have no idea how to do it. Previously I've used ./configure and make install.
    What is the install process for Arch?
    Last edited by guriinii (2010-09-25 13:09:18)

    guriinii wrote:What do you mean buy "an AUR helper"?
    This http://wiki.archlinux.org/index.php/AUR_Helpers
    If you look into PKGBUILDs you see the good old './configure && make install' but by using pacman you don't have to worry about dependencies and if you remove the installed app, it gets removed all the way, no garbage left behind.
    Last edited by karol (2010-09-24 18:03:07)

  • Has anyone else experienced a glitch when making cuts? Many of my cuts slip a frame or two when moved from source monitor to sequence and it started with the latest update

    Once I updated to the latest version of Premiere 2014.2 I started experiencing a glitch when my cuts would slip a frame or two. At first it was randomly. Then I had footage I was using that was an .avi file that I converted to .m4v using vlc and now in my Premiere project, are having the greatest difficulty keeping my original cut that I create in my source monitor. When I bring it into my timeline, the new frames are added. When I double click the clip into my source monitor, I see that my original cuts remain, not shifted. Looking back in my timeline, unwanted frames are still there. I have to bring it into my source monitor to guess where the right frame would be to compensate for this. It happens more often with the converted files but still happens to .mp4s as well. I am using a Mac Pro 15-in from Early 2011. Thanks for the advice in advance!

    I downloaded and installed the latest iTunes 11.2.1 (1) update yesterday. It appears to have corrected this issue to a large extent: plugging in an iThing to sync no longer seems to cause explosive growth in memory footprint. leaks reports a much slower growth in dead memory:
    leaks -nocontext -nostacks iTunes | grep total
    Process 27307: 353 leaks for 726488 total leaked bytes.
    20 minutes later:
    leaks -nocontext -nostacks iTunes | grep total
    Process 27307: 364 leaks for 1256056 total leaked bytes.
    20 minutes later, after DLing updated apps and doing another sync:
    leaks -nocontext -nostacks iTunes | grep total
    Process 27307: 364 leaks for 1256056 total leaked bytes.
    Memory allocation started at 70Mb, grew to 200Mb, and appears to have stabilized there.
    I'm going to keep an eye on it overnight, but it looks as if this may not be a complete system killer as it was before, at least in my case. In any case, I can highly recommend this latest iTunes update for anyone else experiencing this specific issue. Updating bug 16772016 with this new information.

  • Unwanted duplication of pages when adding from another PDF?

    Hi all
    Had this a couple of times recently, when I'm cutting in pages from another PDF into a main one, for some reason it's throwing in duplicates of those new pages? Also happened to me when I saved a PDF at reduced size. Stumped! Appreciate any advice.
    Thanks
    H

    Acrobat Pro. Last time it happened, I'd PDFd the main document, with some tweaks to the preset jpeg resolutions to try to squeeze file size down a little. Then had to cut in a couple of pages from another source PDF, which was just two pages, but also on the large size. From the second source file, it wouldn't let me 'save optimised', so I opted for the reduced file size option, it allowed me to do that, but when it had saved this, it then had 14 pages! 7 of p1, 7 of p2.
    Another time, it was working from the same document, but had varying page sizes (a booklet with one of those foldout form type things at the end), the first section had to be singles, then the form section as spreads. First section and second section PDF fine. When I try to cut the form into the main one, same thing, a load of unwanted dupes.
    In both cases, it didn't want to then let me delete the unwanted pages, which would have been a quick way around it.
    Best
    H

  • Firefox loading wrong page when searching from default home page

    Hi,
    When I try a search from the default home page (about:home) in Firefox, instead of bringing up google search results I get sent to the following page
    http://search.tuxendo.com
    Has anyone come across this before?

    This reply by cor-el was a partial solution to the problem. But there was a further problem. Ask.com had a .exe program installed in my computer along with a program I had installed (Webroot anti-virus and Spy Sweeper), and this .exe program would keep restoring ask.com as the default search engine after I removed it. I had to use the "remove program" function of the Control Panel to remove the .exe program (called Webroot Ask.exe or something close to that) to finish the job.
    So to dispose of the problem, follow the advice above from cor-el, and then go to the Control Panel, track down some form of ask.exe, and remove it.

  • HT4356 Blank page when printing from email

    I just got and set up Epson NX 430. It is AirPrint printer and is printing from both iPhone and iPad.
    Seems to be fine except when printing except from email. Then it always feeds a blank page first then prints the email. I can't figure out how to stop it from feeding blank page.
    I contacted Epson and they say it is an AirPrint issue and I have to contact Apple for that.
    Anyone else having same issue and any ideas of how to fix or stop the blank page?

    In the Print dialog, select Open PDF in Preview from the PDF menu in the lower left corner. Is the print preview blank?

  • "Please insert Oracle 9i disk2" when installing from 3-part OTN download

    I am trying to install DB 9.2.01 downloaded from OTN in three parts: 92010NT_Disk1, 92010NT_Disk 2 and 92010NT_Disk3 on a Windows 2K x86 platform.
    I am getting the above message when I get partway into the installation. I followed instruction in the docs and unzipped each of the downloaded zip files into a directory that I created on the new server.
    Can anyone advise me on how to get around this since I do not have physical disks to insert?
    Thanks.

    sd059 wrote:
    Not on the first try but I cancelled and re-ran and now the window came up.If this is resolved, please mark the thread as 'answered'. Otherwise please provide a follow-on question.

  • How to access files in USB stick when installing from it?

    I have prepared my installable USB stick (8G) from Arch 2009.02 ISO file, and copied some configuration files to the USB stick. Everything looks well.
    After the Arch installation (not reboot yet), I want to access my configuration files on the stick, but I just cannot find them. Where has my USB stick been mounted to, and how can I read the files on it?
    I am confused...:rolleyes:

    lilsirecho wrote:To mount your USB stick you can mount it as root.  Using sd(x) as an example, mkdir /mnt/sd(x) in /mnt...
    Of course I tried this, but failed. Well, maybe what I said above is not explicit enough. I mean:
    1. the USB stick is just the installable USB stick I used to install Arch;
    2. not mounting the USB stick on the system I've installed, but just on the live arch linux OS that the installable USB stick introduced.
    After all, I was booting from the USB stick, so it may have been mounted. In fact, I can find it by:
      # cat /proc/mounts
    In the output, my USB stick is /dev/sdb1, and the mounted directory is /bootxxx (not remembered, sorry), but I JUST cannot find this directory. So I was confused.
    lilsirecho wrote:...Confused here that you used an .iso to generate a USB stick installer when the download archlinux-2009.02 is available in .img format for both i686 and X86_64...
    Yes, I know there's an IMG file for USB stick. But I don't want to use it, because after I use "dd" command writing the IMG file to the USB stick, the stick became the same size (about 330Mb) as the IMG file. Then how can I copy some other files into this 8G USB stick?
    So, I used archlinux-2009.02 ISO file. I prepared my USB stick by cfdisk, and formated it. I mounted the ISO file to some directory (using abc as an example), and copied all the files in abc to my USB stick, then installed grub on it. Finally, an installable 8G USB stick was made.
    Last edited by cwjiof (2009-02-19 09:24:29)

  • Running Xcode without install(from source control)

    I am managing a build lab and have several products/branches to provide service to and I would like my build machines not to be specialized to any one product/branch.
    The scenario I would like to have is that souce and all tools needed to build it are checked into source control and just sync and build with some prep/env setup before hand via script.
    This is very doable with Visual Studio and many other tools. Is it possible with Xcode? Has anyone gotten a scenario like this to work?
    Thanks in advance for any help/answers.

    Does this snippet from the readme shed light...
    Installation
    The Xcode and iOS SDK installer provides several options for configuring the installation from the “Customize...” button:
    •          Essentials: contains all required components of Xcode, installed by default in / Developer or another directory of your choice, including external volumes.
    Xcode Toolset: installs the core Xcode IDE, the Mac OS X SDKs, and many other developer tools. This is a required package and cannot be un-selected.
    iOS SDK: contains the iOS frameworks, tools, and iOS Simulator. If you do not agree to the iOS license agreement, this package will be unavailable. If un- selected, Xcode will install with only the Mac OS X SDKs.
    •          System Tools: installs system-level tools for performance analysis, and for system monitoring from within the Instruments application.
    •          UNIX Development: command-line tools such as compilers, linkers, and build tools. The components are always placed in /usr with only one version installed at a time.
    •          Documentation: checked by default, Xcode will download developer documentation in the background for offline reading, and automatically download documentation updates as well. If unchecked, the documentation will be read from the web instead of the local disk. The download setting can be changed after install via Preferences.
    Throughout this document <Xcode> refers to the path in which the Developer Tools Essentials components are installed, which defaults to /Developer. You can have multiple
    versions of the Xcode toolset installed. You can move or rename the <Xcode> directory, but must not alter its internal structure.
    NOTE: Only one version of the System Tools and the UNIX Development components can be installed on a computer at a time. The last installed set of these components replaces any previously installed set.

  • Control panel error when installing from MSI file with JRE 7 update 21

    When I install JRE from the MSI file that I get from the user folder I get an error then I try to start Java Control Panel. Java applications works ok but I cant start the Control panel. If I uninstall Java and install it by executing the offline exe file the installation works fine and the control panel also works.

    Yes same problem here. I had a successful rollout with the MSI package and version 1.7 Update 17 on 1500 computers!
    I packaged the Update 21 and on my first test-clients the control panel crashes when I try to open it. But the setup ends successful without any error code all eventviewer entries are successful and it seems that the environment is running. Firefox plugintest was successful.
    Why doesn't offer Orcale the MSI files?! Since last year Java cost me o lot of time deploying Java. There is no update which you can release quickly because there are always bugs to deploy them.

Maybe you are looking for

  • Service or sales scenario to be used for the mentioned case

    hi all, i had a query. I have a scenario of transportation services with some key points in mind. 1. A contract exists between customers and service providers which lasts for many years. 2. Orders are created w.r.t. the contract over a period of time

  • Dynamic run-time objects in a query

    Hi everybody, I came across some docs that say this Dynamic SQL fails: CREATE PROCEDURE drop_table (table_name IN VARCHAR2) AS BEGIN EXECUTE IMMEDIATE ’DROP TABLE :tab’ USING table_name; END; Can someone explain why can't an object name be provided t

  • Safari Auto Fill Stopped working

    The auto fill in Safari 4 has stopped working. It used to be when I went to, say, eBay, my name and password would automatically be there. Now, the spaces are blank. But, when I type in the first letter of my ID, the rest of the ID and the Password a

  • Trouble updating record w/ attached file.

    Hi, Posted in the SQL forum but no response. Hopefully someone here will have an idea. My application has a file upload feature so a file can be attached to every record saved with this INSERT on Submit:<br><br> if (:P3_Filebrowser is not null) then<

  • Standby by rman

    HI All, I am creating standby database by rman. I have taken backup of production database plus archived logs using following command rman>backup database plus archivelog; the backup got completed successfully After that i have taken backup of currne