Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • qnc
    Member
    • Jun 2010
    • 51

    Make Clean and Make all not working

    What am I missing?...

    I followed the instruction but all I get is bash: make: command not found I was using Terminal v2.1.2 (-bash) on Mac OSX v10.6.8

    ******************** Screen dump of what I did ******************
    $ curl http://bedtools.googlecode.com/files...v2.13.3.tar.gz > BEDTools.tar.gz
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 906k 100 906k 0 0 372k 0 0:00:02 0:00:02 --:--:-- 374k

    $ tar -zxvf BEDTools.tar.gz
    x ./._BEDTools-Version-2.13.3
    LOTS OF THESE AND FINALY
    x BEDTools-Version-2.13.3/data/rmsk.hg18.chr21.bed

    $ cd BEDTools-Version-2.13.3

    $ ls
    LICENSE README.rst bin genomes src
    Makefile RELEASE_HISTORY data obj

    $ make clean
    -bash: make: command not found

    $ make all
    -bash: make: command not found
    ******************** End Screen dump of what I did ******************

    Any ideas?
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    "Make" program needs to be installed on your machine.

    For that you can install "Xcode" dev package. This may be on the OS install DVD if you have it handy. Otherwise you can download it for free from here: http://developer.apple.com/xcode/ You will need to create an account with apple (free).

    Comment

    • qnc
      Member
      • Jun 2010
      • 51

      #3
      Registered with Apple

      but now I get "Can't connect to application instance" When I use that URL for xcode you gave me.

      Any advice?

      Comment

      • qnc
        Member
        • Jun 2010
        • 51

        #4
        even click throughs on google search for xcode comes up with the same error message btw.

        Comment

        • qnc
          Member
          • Jun 2010
          • 51

          #5
          Its working now

          Comment

          • qnc
            Member
            • Jun 2010
            • 51

            #6
            Sorry still problems any advice?

            Comment

            • GenoMax
              Senior Member
              • Feb 2008
              • 7142

              #7
              Do you have the system install DVD handy? Look on there for the Xcode installer.

              Comment

              • qnc
                Member
                • Jun 2010
                • 51

                #8
                No I don't

                What about from this site?

                Download Xcode 15.2 Build 15C500b for Mac - Comprehensive integrated development environment designed to be used for building and testing macOS, iOS, iPadOS, watchOS, and tvOS applications

                Comment

                • GenoMax
                  Senior Member
                  • Feb 2008
                  • 7142

                  #9
                  I am able to log into the Mac Dev Center site. It appears to be behaving strangely though. Go back to the xcode URL after your get the error. You may find that you are logged in in spite of the error.

                  I would advise not to download xcode from elsewhere.

                  Comment

                  • qnc
                    Member
                    • Jun 2010
                    • 51

                    #10
                    Cool finally got the Xcode and the make file seems to have worked!


                    Also make "clean and "all" are now working...

                    Got down to the last command sudo and got this

                    ************ ERROR MESSAGE ***********

                    BEDTools-v2.13.3$ sudo cp bin/* /usr/local/bin/
                    cp: directory /usr/local/bin does not exist


                    ************ END ERROR MESSAGE ***********


                    I did try this command before

                    ***** TYPO RESULTING IN ERROR ********


                    BEDTools-v2.13.3$ sudo bin/* /usr/local/bin/

                    WARNING: Improper use of the sudo command could lead to data loss
                    or the deletion of important system files. Please double-check your
                    typing when using sudo. Type "man sudo" for more information.

                    To proceed, enter your password, or type Ctrl-C to abort.

                    Password:
                    sudo: bin/*: command not found

                    ***** END TYPO RESULTING IN ERROR ********

                    I hope my typo didn't destroy that folder??

                    Comment

                    • dpryan
                      Devon Ryan
                      • Jul 2011
                      • 3478

                      #11
                      I don't think /usr/local/bin exists under OSX by default, so you may have to create it (e.g. "sudo mkdir -p /usr/local/bin") or copy the files to a different directory in your PATH. You didn't destroy anything when you forgot the cp command, you just confused sudo. BTW, you may want to ensure that /usr/local/bin is actually in your PATH (type "echo $PATH" and see if it's listed), otherwise make sure to add it.

                      Comment

                      • GenoMax
                        Senior Member
                        • Feb 2008
                        • 7142

                        #12
                        I do not think you did any damage.

                        You do not need to strictly follow that last command. All it is doing is putting the executable(s) in the "/usr/local/bin" directory (which is generally in the default PATH on a linux system). On a Mac "/usr/local/bin" is not the default path for executables (do not have a Mac handy to check that out).

                        You should be able to run the programs by providing full path to program you want to run in your terminal window.

                        Code:
                        system_prompt> /path_to/BEDtools/bin/intersectBed file1.bed file2.bed
                        Originally posted by qnc View Post
                        Cool finally got the Xcode and the make file seems to have worked!


                        Also make "clean and "all" are now working...

                        Got down to the last command sudo and got this

                        ************ ERROR MESSAGE ***********

                        BEDTools-v2.13.3$ sudo cp bin/* /usr/local/bin/
                        cp: directory /usr/local/bin does not exist


                        ************ END ERROR MESSAGE ***********


                        I did try this command before

                        ***** TYPO RESULTING IN ERROR ********


                        BEDTools-v2.13.3$ sudo bin/* /usr/local/bin/

                        WARNING: Improper use of the sudo command could lead to data loss
                        or the deletion of important system files. Please double-check your
                        typing when using sudo. Type "man sudo" for more information.

                        To proceed, enter your password, or type Ctrl-C to abort.

                        Password:
                        sudo: bin/*: command not found

                        ***** END TYPO RESULTING IN ERROR ********

                        I hope my typo didn't destroy that folder??

                        Comment

                        • qnc
                          Member
                          • Jun 2010
                          • 51

                          #13
                          BEDTools-v2.13.3 $ echo $PATH
                          /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin

                          Is this good?

                          Comment

                          • qnc
                            Member
                            • Jun 2010
                            • 51

                            #14
                            How do I check that its all working?
                            is there a simple command to see if BEDTools is now executable.

                            I guess running it from anywhere (no need to move files into 1 folder I can organise my files as I want etc...) would be good so I'll set up that PATH thing.. Any advice on that?

                            Comment

                            • dpryan
                              Devon Ryan
                              • Jul 2011
                              • 3478

                              #15
                              Seems it's already in your PATH, so you should be able to just create the directory if it doesn't already exist and copy things in.

                              Leaving the files where they are and running them from there will work fine too, you just have to include the path, as demonstrated by GenoMax. The only downside to this is that it requires more typing.

                              Comment

                              Latest Articles

                              Collapse

                              • mylaser
                                Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                                by mylaser
                                Kheloyar – Everything You Need to Know About Kheloyaar Login and Kheoyar Id
                                If you are looking for an online gaming platform that offers a user-friendly experience, Kheloyar has become a name that many users search for. Whether you're interested in creating a new account, accessing your dashboard through Kheloyaar Login, or learning how to obtain a Kheoyar Id, understanding the platform's features and account process is essential.
                                This guide explains everything you need to know about...
                                Yesterday, 01:13 AM
                              • SEQadmin2
                                Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                                by SEQadmin2



                                Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                                ...
                                07-09-2026, 11:10 AM
                              • SEQadmin2
                                Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                                by SEQadmin2



                                Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                                There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                                07-08-2026, 05:17 AM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by SEQadmin2, 07-09-2026, 10:04 AM
                              0 responses
                              22 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-08-2026, 10:08 AM
                              0 responses
                              14 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-07-2026, 11:05 AM
                              0 responses
                              33 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-02-2026, 11:08 AM
                              0 responses
                              31 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...