Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #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


    • #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


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

        Comment


        • #5
          Its working now

          Comment


          • #6
            Sorry still problems any advice?

            Comment


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

              Comment


              • #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


                • #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


                  • #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


                    • #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


                      • #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


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

                          Is this good?

                          Comment


                          • #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


                            • #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

                              • seqadmin
                                Exploring the Dynamics of the Tumor Microenvironment
                                by seqadmin




                                The complexity of cancer is clearly demonstrated in the diverse ecosystem of the tumor microenvironment (TME). The TME is made up of numerous cell types and its development begins with the changes that happen during oncogenesis. “Genomic mutations, copy number changes, epigenetic alterations, and alternative gene expression occur to varying degrees within the affected tumor cells,” explained Andrea O’Hara, Ph.D., Strategic Technical Specialist at Azenta. “As...
                                07-08-2024, 03:19 PM
                              • seqadmin
                                Exploring Human Diversity Through Large-Scale Omics
                                by seqadmin


                                In 2003, researchers from the Human Genome Project (HGP) announced the most comprehensive genome to date1. Although the genome wasn’t fully completed until nearly 20 years later2, numerous large-scale projects, such as the International HapMap Project and 1000 Genomes Project, continued the HGP's work, capturing extensive variation and genomic diversity within humans. Recently, newer initiatives have significantly increased in scale and expanded beyond genomics, offering a more detailed...
                                06-25-2024, 06:43 AM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by seqadmin, 07-16-2024, 05:49 AM
                              0 responses
                              26 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, 07-15-2024, 06:53 AM
                              0 responses
                              32 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, 07-10-2024, 07:30 AM
                              0 responses
                              40 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, 07-03-2024, 09:45 AM
                              0 responses
                              205 views
                              0 likes
                              Last Post seqadmin  
                              Working...
                              X