Meld and /usr/local

Meld is a visual diff merge and source control tool, I compiled but get when namcaping:
[ganlu@A meld]$ namcap meld-0.9.4.1-1.pkg.tar.gz
meld       W: File (usr/local/) exists in a non-standard directory.
meld       W: File (usr/local/bin/) exists in a non-standard directory.
meld       W: File (usr/local/bin/meld) exists in a non-standard directory.
meld       W: File (usr/local/lib/) exists in a non-standard directory.
meld       W: File (usr/local/lib/meld/) exists in a non-standard directory.
I have set prefix=/usr in PKGBUILD, but it seems no luck.
#Contributor: ganlu <[email protected]>
pkgname=meld
pkgver=0.9.4.1
pkgrel=1
pkgdesc="Meld is a visual diff merge and source control tool."
url="http://meld.sf.net/"
license=GPL
depends=('python')
makedepends=('')
confilcts=()
backup=()
source=(http://ftp.gnome.org/pub/gnome/sources/meld/0.9/$pkgname-$pkgver.tar.bz2)
md5sum=('cd5f02e084529c581ce52a22647ca4dc')
build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
~
~
Thank you in advance.

Some time ago I also tried to make meld package and I had to do something like this to make it install in the proper directory
make prefix=/usr || return 1
make prefix=/usr install DESTDIR=$startdir/pkg
I know that's weird but it didn't want to work without these settings. I didn't investigated it further but I guess something was wrong in the meld makefile. I hope it's fixed now in the newest version.

Similar Messages

  • Mysql, mysql account password, and /usr/local/mysql ownership

    Hi all,
    I am new to osX but familiar with Linux. I have a user 'mysql' and a group 'mysql'. I would like to make mysql the root user of the database but cannot figure out how to assign a password. I see the account in netInfo and there is an encrypted password, but no way to change it.
    Depending on what you read, the directory /usr/local/mysql should belong to group mysql - I don't get the concept of 'wheel' yet.
    I do have a regular user named 'meandmine' [not real]. Have /usr/local/mysql/bin in my path; I can start mysql okay. When I try to execute: mysqladmin -u root password 'password' I get an error: Access denied for user 'root'@'locahost'
    So where do I go. I have looked through many, many web sites including Apple, and spent several hours in Borders looking through OsX books without luck.
    Guidance is appreciated.
    Feel free to answer via forum or direct [email protected]
    MacBook Pro Core 2 duo   Mac OS X (10.4.8)  

    for anyone that follows this up:
    I deleted the mysql install
    Activated the computers root account
    Installed mysql under that account a command line with su to get root access
    Then followed the instructions to log in with
    mysql -u root -p
    [enter password]
    I am up and running, and can assign access, create rights etc. to any user: in this case the only non-root user on the machine.
    Thanks for the answers though , especially the bit about the UNIX forum.
    Bob

  • /usr/local/bin

    Hello everyone,
    Whenever i am installing any s/w from source by compiling,its executable is getting stored in /usr/local/bin.Now im unable to use the s/w by just typing its executable name in the terminal,its giving me an error as "command not found".what i have to do is browse to the directory /usr/local/bin n then run the executable as ./xxxxx.How can i add the directory /usr/local/bin so that it too is checked for executables.
    Thanks in advance,
    Rajiv Nair.

    Anyway, /usr/local is made just for those things you do not want to be touched by your package manager. So, if for any reason you do not want to write a PKGBUILD for something (if e.g., it is just a little script you wrote and you want to install it system-wide; or you have some reasons to make the compilation routine step by step), then /usr/local is then just the right place: /usr/local/bin and /usr/local/sbin for executable with various permissions, /usr/local/lib for the libraries, may be /usr/local/src for the sources, etc. Then you should just modify your /etc/profile (or your .bashrc, .zshrc).
    This is not what is supported by arch, but it is something you can always do, if you like so, in any linux system of the world.

  • What about /usr/local/bin + sbin merge?

    With the merge of /bin and /lib folders that just happened I was curious if there was a particular reason to keep both /usr/local/bin and /usr/local/sbin as actual folders in the filesystem, instead of making /usr/local/sbin a symlink to /usr/local/bin.

    arojas wrote:If you delete it, it will be recreated with every update of the filesystem package anyway
    This.
    Jindur wrote:So I guess that folder is actually not under my complete control
    The contents is*, pacman (actually, the filesystem package) just creates it for you since 99.9% of people either need it or don't care.
    If it bothers you that much, you can use ABS to build your own "filesystem" package without any /usr/local/ paths
    * Should be according to the Arch Packaging Standards unless someone writes a bad PKGBUILD which incidentally I found one of mine doing that yesterday... Accidents happen!
    Last edited by fukawi2 (2013-06-04 23:07:23)

  • Must run /usr/local/... apps as sudo?

    Has something deep in the esoteric bowels of OS X changed in Snow Leopard that now requires me to "sudo" any application I might otherwise run from /usr/local? Examples: mysql and git are installed to /usr/local/mysql-5.0.67 and /usr/local/git (respectively) — both of which were installed on this MacBook Pro while running 10.5, both of which ran just fine (as my normal user) for months, and now both... there but won't run unless I sudo...
    Example!
    [20:16:51 ~]
    rob@Connemara $ git --version
    -bash: git: command not found
    [20:17:04 ~]
    rob@Connemara $ /usr/local/git/bin/git --version
    -bash: /usr/local/git/bin/git: Permission denied
    [20:17:18 ~]
    rob@Connemara $ sudo git --version
    git version 1.6.4.2
    (1) Yes, /usr/local is in my $PATH.
    (2) Yes, /usr/local/git/bin is in my $PATH.
    (3) Ditto /usr/local/mysql (symlinked...)
    ...anyone?

    Solved here: http://discussions.apple.com/thread.jspa?messageID=10139530
    sudo chmod 755 /usr/local

  • `make install` copies to /usr/local/bin

    And /usr/local/bin is apparently not on the default arch $PATH.
    This is odd becauase /usr/local/bin is the $bindir apparently for make by default.

    echo 'export PATH="${PATH}:/usr/local/bin:/usr/local/sbin"' > /etc/profile.d/local-bin.sh && chmod a+x /etc/profile.d/local-bin.sh
    But you really should use a PKGBUILD instead of make install so pacman can keep track of your packages in the system.

  • Accessing /usr/local/bin directory

    I'm new to Unix and trying to access the directories /usr/local/bin and usr/local/lib to put files into that I need to run a program, but Terminal keeps telling me "no such file or directory." I am doing this work on my own computer, but do I need special permission to access these files?
    Any advice on moving the files into these directories?

    Usually, files get into /usr/local when you run "configure && make && sudo make install". Since you're new, I would suggest running "configure", "make", and "sudo make install" separately until you get the hang of it.

  • /usr/local/bin OR /opt/local/bin

    I recently installed osxvnc and the install program put it into /opt/local/bin. I already had /usr/local/bin etc.
    Is there a standard way of doing this - that is using /opt/local or /usr/local or is opt for optional programs and /usr/local for locally developed programs?
    TIA

    Fink uses /sw and darwinports uses /opt/local specifically so that what you have in /usr/local doesn't interfere with fink, or with darwinports, and that their installs don't interfere with what you install manually into /usr/local.
    Use /usr/local for software you compile by hand that installs in there by default. Keep fink and darwinports separate from this, and separate from each other. The best way to do this is to leave everything as it is.
    If you want to, you can configure fink (and I assume darwinports) to install everything into /usr/local. Again, I suggest you not do it for the same reasons as just given. More details of how and why this was done are available on the fink and on the darwinports documentation sites.

  • Explanation of usr/local/bin

    I have see this path come up when I have installed PHP/MySQL etc on my machine but neve rundersttod what it means.
    Is this the directory where programmes are installed by me that are not part of the OS, like Photoshop, PHP, MySQL, MS word etc?
    How do I look for files on my Finder are they stored on my HD or in my user profile?

    Andy,
    To add to Michael and j.v.'s posts, /usr/local has been the traditional place to install 3rd party software ie. software not written by the company that made the OS. So, /usr/local/bin contained binary files, /usr/local/lib contained the library files, /usr/local/man contained the man pages, and so forth. If you look on old Sun's, IBM, HP and other machines dating to the early 90's, that's generally what you'll see. Not all system administrators, or workstation owners, followed the general design intentions of the UNIX file system however.
    Now, binaries, libraries and man pages can be in a wide variety of places, depending upon the package installer's design. Fink will like to default to /sw, for example.
    As for freeware, or shareware, a well-designed config file will allow you to specify paths for bin, lib and man directories. So, with a little planning, you can get MySQL, and other open source freeware, to install in a directory layout of your design.
    I've always thought of "usr" to mean "User", as in the end User, versus the OS system itself. So /bin and /sbin were for binaries that were primarily used/called by other system routines, while /usr/bin and /usr/local/bin would contain binaries that User's may call/use. Doesn't mean you can't use stuff in /bin, nor that system administration stuff can't be in /usr/bin. I think of it only as a general guide to understanding why something is in a particular directory, not a hard and fast rule.
    Good general references on the overall design of UNIX are "The Design of the UNIX Operating System" by Maurice Bach, and "The Design and Implementation of the FreeBSD Operating System" by Marshall McKusick and George Neville-Neil.
    Ed
    PB G4 Mac OS X (10.2.x)

  • /usr/local/bin vs /usr/bin and Kazehakase vs Firefox

    When you install an application to /usr/bin  will it be more faster than installed on /usr/local/bin?
    I have Firefox installed in /usr/bin and Kazehakase installed to /usr/local/bin. And it seems that Firefox is faster than Kazehakase. Why?
    Last edited by Paingiver (2008-03-15 11:11:48)

    dyscoria wrote:
    Endperform wrote:The notion that an application can be sped up by linking it in your home directory, or even renaming it to one letter is also crazy.  Your install will search for an executable in the path specified in $PATH and then execute the first instance it finds, but this does NOT speed the application itself up.
    No seriously, if you rename all your executables to one letter then your system runs like lightning!
    * am i really that bad at sarcasm? *
    Yes, since there was no indication of sarcasm in your post.  A or would have worked

  • Sharing /usr/local and NIS server and client

    I have two sun v880 with solaris 9 one is nis server and other nis client . The nis master sharing /usr/local with nis client. I need that one sun will be backup from other, if one stop working other continuos. What is que best practice for to do this, stop de nis service and copy /usr/local of one to other? Change nis client to nis slave? I don't have experience with solaris.

    Do you only have 2 machines total?
    You discuss two separate services: NIS and filesharing.
    For NIS, all that is required is that you set up a slave. The slave continues to serve data (but not update it) while the master is down.
    Sharing /usr/local is different. If it's just these 2 machines, instead of NFS I might set up rsync to copy the data over periodically.
    Darren

  • How to inherit /usr and make /usr/local read/write

    Is there some way where I can make "/usr" a inherit-pkg-dir, and yet make "/usr/local" a read/write directory. I notice a lot of things I compile want to use "/usr/local" to write to, yet I don't want to remove the inherit for /usr, since a lot of packages go into that directory I would like inherited.
    One work around I tried was to make a symbolic link in the global from "/usr/local" to /local" on the root, and then create a "/local" directory in the non-global zone. This still caused problems.
    So is there any other work arounds or do I have to remove the inherit for "/usr" to make "/usr/local" writeable?

    One work around I tried was to make a symbolic link
    nk in the global from "/usr/local" to /local" on the
    root, and then create a "/local" directory in the
    non-global zone. This still caused problems.We've had success here using the workaround you mentioned.
    We install all of our large software packages in /opt/<package-version>, and treat them as if they are read-only. There are a few exceptions to this -- there are some vendor supplied packages that can't be configured to write logs/configs/whatever outside of it's base directory. The packages supporting our in house software is called /opt/company.
    When it comes to collections of small utilities (awk, fileutils, findutils, etc, etc) we pre-install as much stuff as makes sense with a prefix of /opt/local-<version>, and then distribute this to all of our machines (And subsequently treat it as read only). If we find we missed something that needs to go everywhere, we'll update the /opt/local-<version+1> and change the symlinks to /opt/local. If it's something that just needs to run on a couple machines we'll just make a new /opt/<package-version>.
    In the global zone, we make a symlink for /opt/(read/write dir) to go to a /local/opt/. When /opt is mounted read-only on a zone, the symlinks within /opt point to whatever /local/ that is hosted local to the zone. So our /local directory might have /local/opt/company, /local/opt/inflexible-vendor-1.0.2, etc.
    So far, we have half a dozen test zones created like this and haven't seen any problems. What kind of issues are you seeing when installing like this? (crossing fingers we haven't missed a Fatal Flaw :-))
    -A

  • How do I navigate to /usr/local in the Finder?

    I have a file in a folder beneath /usr/local that I want to be able to open in the Finder. However, there does not appear to be any way to navigate to this folder (or various other folders beneath /) in the Finder. What do I do?
    If it makes any difference, I'm specifically trying to do File Open in Firefox. This brings up the Finder dialog box that I am unable to point to the file I want.
    My workaround is to create a softlink to the file in my home directory. But this is a stupid hack. If the file is on my machine, Finder should be able to find it. That's why they call it Finder.
    Thanks for your help.
    Mac Mini Duo 1.66 GHz, 2 GB (10.4.6); MacBook (10.4.8)    

    For opening things from either Finder or an application you might consider this:
    1. Do as biovizier suggests to go to the hidden parent folder
    2. With /usr open in Finder hold down both the Option and Command keys and click and hold on the proxy icon at the top of folder's toolbar and drag to your Desktop
    3. This will create an alias to the invisible folder which is visible in the Finder and application open and save dialog boxes
    I made a folder called hidden and put aliases to bin, private, sbin and usr in it. I can easily get to the contents of all of them now.
    Francine
    Francine
    Schwieder

  • Can not compile php with "-with-oracle=/usr/local/oracle"

    I work on Linux engine with a x86_64 architecture and use Oracle 10g 10.2.0.1 client for x86_64 linux
    so - when i try to compile php with the oracle argument (-with-oracle=/usr/local/oracle) i get everytime the same error:
    checking Oracle version... configure: error: Oracle needed libraries not found
    I think, maybe i have a problem because configure not found my "64 bit libraries"...
    Can someone help me? I am realy helpless...
    thx

    Did you really want the obsolete "oracle" driver - why not use --with-oci8?
    The user comments in http://www.php.net/oci8 have some good info on 64bit configuration.

  • Permission denied: fopen('/usr/local/ssl/openssl.cnf'

    When installing phone software (CounterPath-Bria3) i get an error message in the system: Permission denied: fopen('/usr/local/ssl/openssl.cnf'..) CounterPath is arguing, they use their own SSL library. Does anybody have an idea, how to fix this?

    I don't see what you're seeing in my logs. I did recreate the authorized_keys, and reattempted to connect. As before, this is what I'm getting:
    debug1: Next authentication method: publickey
    debug1: Offering public key: /Users/zbeckman/.ssh/id_dsa
    debug3: sendpubkeytest
    debug2: we sent a publickey packet, wait for reply
    debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,keyboard-interactive
    debug1: Trying private key: /Users/zbeckman/.ssh/identity
    debug3: no such identity: /Users/zbeckman/.ssh/identity
    debug1: Trying private key: /Users/zbeckman/.ssh/id_rsa
    debug3: no such identity: /Users/zbeckman/.ssh/id_rsa
    debug2: we did not send a packet, disable method
    It seems to me that on my end, we send the public key... and then it just quietly moves on to the next protocol. There is no error message or any indication that something went wrong, or why it would move on to the next protocol.
    I've done a cksum on my id_dsa.pub and the remote authorized_keys. They are identical. Both files are owned by me, and readable / writable only by me.

Maybe you are looking for

  • Oracle E-Business Suite 12.1 Installations fails on windows 7     64 bit

    Hi guys, I am trying since the last 10 days to install Oracle EBS 12.1 on windows 7 64 bit. I have installed the pre-requisites, .i.e: 1. MKS Toolkit 8.7 2. Visual C++ 2005 3. I am installing from the Administrator user Account, which is added to the

  • Error message: Windows\prefetch\Firefox.exe-06188867.pf is corrupted and unusable. What do I do ?

    The error message suggests that I run 'chkdsk' utility, but something prevents this from runnning. I tried re-installing Firefox, but did not uninstall first. Is this the best approach ? AND .. Most important .. If uninstall, and re-install, Will I l

  • Websharing between Networked computers

    We have 2 Macs (g4 and g5) networked by Ethernet connection. A website is published on the one machine and accessible and fine if I open it via Safari from the machine where the website resides. Filesharing is on in both machines Websharing is on in

  • MDB Deployment Problem in JBoss 4.0.3SP1

    Hi All, I am upgrading my App Server from JBoss 323 to JBoss 403. I had some MDBs, that are running successfully in JBoss 323. But when I tried to redeploy them(after recompiling with jdk1.5), I am facing few issues with them. First of all, I have a

  • Oracle apache shutting down

    Hi, I will be grateful if someone can help me on this.Our E-business suite apache seems to go down and I have not been able to get the causes. I have checked the logfiles for error under iAS_HOME/apache/apache but no luck. Which of the logfiles will