Find the answer to your Linux question:
Results 1 to 8 of 8
After compiling pearpc from source, following this tutorial: http://pearpc.sourceforge.net/getsta...#configuration It says to, " In the freshly created directory, make a copy of the file ppccfg.example. This copy is now your ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Jul 2005
    Posts
    122

    Installation Directory after Compiling from Source


    After compiling pearpc from source, following this tutorial: http://pearpc.sourceforge.net/getsta...#configuration

    It says to, " In the freshly created directory, make a copy of the file ppccfg.example. This copy is now your configuration file. It's recommended to give this file a descriptive name (e.g. macosx.pearpc)."

    Where is this directory? This is the first time I have ever compiled anything from source, so I'm pretty much clueless. Also, how would I copy and rename it. I have looked at a few other tutorials, and googled, but have found nothing.

    Please help! :drown:
    -fanfan
    There is no problem so complicated that you cannot find a very simple answer to it if you look at it in the right way

  2. #2
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    wherever you compiled the program, just type ls and see if there is a new or as they say "freshly created" directory there. If nothing is there, try this command as root:
    Code:
    find / -name pear*
    for copying, have a look at the copy command:
    Code:
    man cp
    basic form is: cp source_name destination_name
    e.g. cp ./hello_world.c /home/alex/hello.c
    source name is hello_world.c which resides in present directory. destination is /home/alex/ and the new file will be called hello.c instead of hello_world.c
    Life is complex, it has a real part and an imaginary part.

  3. #3
    Linux Newbie
    Join Date
    Jul 2005
    Posts
    122
    Thanks for the advice however I'm still pretty lost. when I typed "ls" in the command prompt I got all the files that are in my home directory.

    Then, when i tried to search for it with "find / -name pear*" I get this:

    /home/Fanfan1313/Desktop/pearpc-0.3.1.tar.bz2
    /home/Fanfan1313/pearpc-0.3.1.tar.bz2
    find: WARNING: Hard link count is wrong for /proc/1/task: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.
    find: /media/floppy: No medium found


    I guess this means that I didn't complile it correctly.

    This is how I compiled it:

    /home/Fanfan1313/Desktop/pearpc-0.3.1/configure --enable-ui=x11 --enable-cpu=$CPU=jitc_x86 && make


    thanks again for your help,
    -fanfan
    There is no problem so complicated that you cannot find a very simple answer to it if you look at it in the right way

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    since you followed their instructions on howto compile, I guess it would have compiled properly, unless you saw some errors during the compilation process.
    try this,
    Code:
    cd /home/Fanfan1313/Desktop/pearpc-0.3.1/
    ls
    Look here for some newly created directory, perhaps one which contains the binaries for the program.

    from reading more of their installation instructions, i guess the config file should be placed in the directory which the executable can be found. The way I would find the executable is by using this command:
    Code:
    find / -name ppc*
    Life is complex, it has a real part and an imaginary part.

  6. #5
    Linux Newbie
    Join Date
    Jul 2005
    Posts
    122
    I get these errors after compiling:

    make[4]: *** [ppc_alu.o] Error 1
    gmake[4]: Leaving directory `/home/Fanfan1313/src/cpu/cpu_jitc_x86'
    gmake[3]: *** [all-recursive] Error 1
    gmake[3]: Leaving directory `/home/Fanfan1313/src/cpu'
    gmake[2]: *** [all-recursive] Error 1
    gmake[2]: Leaving directory `/home/Fanfan1313/src'
    gmake[1]: *** [all-recursive] Error 1
    gmake[1]: Leaving directory `/home/Fanfan1313'
    make: *** [all] Error 2

    I also get 100+ errors about "current_opc"


    When I type this code: cd /home/Fanfan1313/Desktop/pearpc-0.3.1/
    ls

    I get this (Many colors):

    aclocal.m4 config.h.in COPYING Makefile.am README TODO
    AUTHORS config.sub depcomp Makefile.in scripts video.x
    ChangeLog configure doc missing sdl.m4
    config.guess configure.in install-sh ppccfg.example src
    Fanfan1313@linux:~/Desktop/pearpc-0.3.1>


    If I type this: find / -name ppc*

    I get this:

    linux:/home/Fanfan1313 # find / -name ppc*
    /opt/kde3/share/apps/krpmview/archcontent/ppc
    /opt/kde3/share/apps/krpmview/archcontent/ppc64
    /usr/lib/YaST2/bin/ppc_postinstall.sh
    /usr/lib/YaST2/startup/arch/ppc
    /usr/src/packages/SOURCES/pearpc-0.3.1/doc/ppc.1
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_generic/ppc_tools.h
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_generic/ppc_alu.h
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_generic/ppc_dec.h
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_generic/ppc_cpu.h
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_generic/ppc_exc.h
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_generic/ppc_fpu.h
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_generic/ppc_alu.cc
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_generic/ppc_mmu.h
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_generic/ppc_opc.h
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_generic/ppc_dec.cc
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_generic/ppc_cpu.cc
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_generic/ppc_exc.cc
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_generic/ppc_fpu.cc
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_generic/ppc_mmu.cc
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_generic/ppc_opc.cc
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_tools.h
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_alu.h
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_dec.h
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_cpu.h
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_exc.h
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_fpu.h
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_alu.cc
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_mmu.h
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_opc.h
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_dec.cc
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_cpu.cc
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_exc.cc
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_fpu.cc
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_mmu.cc
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_opc.cc
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/debug/ppcdis.h
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/debug/ppcopc.h
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/debug/ppcdis.cc
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/debug/ppcopc.cc
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/system/ui/win32/ppc.ico
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/ppc_button_changecd.c
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/ppc_button_changecd.h
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/ppc_img.c
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/ppc_img.h
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/ppc_font.c
    /usr/src/packages/SOURCES/pearpc-0.3.1/src/ppc_font.h
    /usr/src/packages/SOURCES/pearpc-0.3.1/ppccfg.example
    /usr/src/linux-2.6.11.4-21.9/arch/ppc
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/mm/ppc_mmu.c
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/boot/simple/rw4/ppc_40x.h
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/xmon/ppc-dis.c
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/xmon/ppc-opc.c
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/xmon/ppc.h
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/kernel/ppc_ksyms.c
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/kernel/ppc-stub.c
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/kernel/ppc_htab.c
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/syslib/ppc403_pic.c
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/syslib/ppc4xx_serial.c
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/syslib/ppc85xx_common.c
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/syslib/ppc85xx_common.h
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/syslib/ppc4xx_setup.c
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/syslib/ppc4xx_sgdma.c
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/syslib/ppc4xx_pm.c
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/syslib/ppc405_pci.c
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/syslib/ppc4xx_dma.c
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/syslib/ppc4xx_pic.c
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/syslib/ppc_sys.c
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/syslib/ppc8xx_pic.c
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/syslib/ppc8xx_pic.h
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/syslib/ppc4xx_kgdb.c
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/syslib/ppc85xx_setup.c
    /usr/src/linux-2.6.11.4-21.9/arch/ppc/syslib/ppc85xx_setup.h
    /usr/src/linux-2.6.11.4-21.9/arch/ppc64
    /usr/src/linux-2.6.11.4-21.9/arch/ppc64/boot/ppc32-types.h
    /usr/src/linux-2.6.11.4-21.9/arch/ppc64/xmon/ppc-dis.c
    /usr/src/linux-2.6.11.4-21.9/arch/ppc64/xmon/ppc-opc.c
    /usr/src/linux-2.6.11.4-21.9/arch/ppc64/xmon/ppc.h
    /usr/src/linux-2.6.11.4-21.9/arch/ppc64/kernel/ppc_ksyms.c
    /usr/src/linux-2.6.11.4-21.9/sound/ppc
    /usr/src/linux-2.6.11.4-21.9/drivers/ide/ppc
    /usr/src/linux-2.6.11.4-21.9/drivers/mtd/nand/ppchameleonevb.c
    /usr/src/linux-2.6.11.4-21.9/drivers/block/paride/ppc6lnx.c
    /usr/src/linux-2.6.11.4-21.9/Documentation/powerpc/ppc_htab.txt
    /usr/src/linux-2.6.11.4-21.9/include/asm-ppc64/ppcdebug.h
    /usr/src/linux-2.6.11.4-21.9/include/asm-ppc64/ppc_asm.h
    /usr/src/linux-2.6.11.4-21.9/include/asm-ppc64/ppc32.h
    /usr/src/linux-2.6.11.4-21.9/include/asm-ppc/ppc4xx_dma.h
    /usr/src/linux-2.6.11.4-21.9/include/asm-ppc/ppc4xx_pic.h
    /usr/src/linux-2.6.11.4-21.9/include/asm-ppc/ppc_asm.h
    /usr/src/linux-2.6.11.4-21.9/include/asm-ppc/ppc_sys.h
    /usr/src/linux-2.6.11.4-21.9/include/asm-ppc/ppcboot.h
    /usr/share/kbd/keymaps/ppc
    /usr/share/YaST2/include/bootloader/ppc
    /usr/share/texmf/doc/help/Catalogue/entries/ppchtex.html
    /usr/share/texmf/doc/context/ppchtex
    /usr/share/texmf/tex/context/base/ppchtex.tex
    /usr/share/texmf/tex/generic/context/ppchtex.noc
    /home/Fanfan1313/src/cpu/cpu_generic/.deps/ppc_alu.Po
    /home/Fanfan1313/src/cpu/cpu_generic/.deps/ppc_dec.Po
    /home/Fanfan1313/src/cpu/cpu_generic/.deps/ppc_cpu.Po
    /home/Fanfan1313/src/cpu/cpu_generic/.deps/ppc_exc.Po
    /home/Fanfan1313/src/cpu/cpu_generic/.deps/ppc_fpu.Po
    /home/Fanfan1313/src/cpu/cpu_generic/.deps/ppc_mmu.Po
    /home/Fanfan1313/src/cpu/cpu_generic/.deps/ppc_opc.Po
    /home/Fanfan1313/src/cpu/cpu_jitc_x86/.deps/ppc_alu.Po
    /home/Fanfan1313/src/cpu/cpu_jitc_x86/.deps/ppc_dec.Po
    /home/Fanfan1313/src/cpu/cpu_jitc_x86/.deps/ppc_cpu.Po
    /home/Fanfan1313/src/cpu/cpu_jitc_x86/.deps/ppc_exc.Po
    /home/Fanfan1313/src/cpu/cpu_jitc_x86/.deps/ppc_fpu.Po
    /home/Fanfan1313/src/cpu/cpu_jitc_x86/.deps/ppc_mmu.Po
    /home/Fanfan1313/src/cpu/cpu_jitc_x86/.deps/ppc_opc.Po
    /home/Fanfan1313/src/.deps/ppc_font.Po
    /home/Fanfan1313/src/.deps/ppc_button_changecd.Po
    /home/Fanfan1313/src/.deps/ppc_img.Po
    /home/Fanfan1313/src/debug/.deps/ppcdis.Po
    /home/Fanfan1313/src/debug/.deps/ppcopc.Po
    /home/Fanfan1313/.kde/share/apps/RecentDocuments/ppccfg.example.desktop
    /home/Fanfan1313/Desktop/pearpc-0.3.1/doc/ppc.1
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_generic/ppc_tools.h
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_generic/ppc_alu.h
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_generic/ppc_dec.h
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_generic/ppc_cpu.h
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_generic/ppc_exc.h
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_generic/ppc_fpu.h
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_generic/ppc_alu.cc
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_generic/ppc_mmu.h
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_generic/ppc_opc.h
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_generic/ppc_dec.cc
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_generic/ppc_cpu.cc
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_generic/ppc_exc.cc
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_generic/ppc_fpu.cc
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_generic/ppc_mmu.cc
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_generic/ppc_opc.cc
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_tools.h
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_alu.h
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_dec.h
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_cpu.h
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_exc.h
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_fpu.h
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_alu.cc
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_mmu.h
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_opc.h
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_dec.cc
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_cpu.cc
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_exc.cc
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_fpu.cc
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_mmu.cc
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/cpu/cpu_jitc_x86/ppc_opc.cc
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/debug/ppcdis.h
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/debug/ppcopc.h
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/debug/ppcdis.cc
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/debug/ppcopc.cc
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/system/ui/win32/ppc.ico
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/ppc_button_changecd.c
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/ppc_button_changecd.h
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/ppc_img.c
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/ppc_img.h
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/ppc_font.c
    /home/Fanfan1313/Desktop/pearpc-0.3.1/src/ppc_font.h
    /home/Fanfan1313/Desktop/pearpc-0.3.1/ppccfg.example
    find: WARNING: Hard link count is wrong for /proc/1/task: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.
    find: /media/floppy: No medium found



    Thanks again for trying to help.
    -fanfan
    There is no problem so complicated that you cannot find a very simple answer to it if you look at it in the right way

  7. #6
    Linux Guru AlexK's Avatar
    Join Date
    Feb 2005
    Location
    Earth
    Posts
    3,379
    ok, the errors you posted don't seem to help much, but are there any errors before those lines?

    when you type ls in the /home/.../Desktop/... directory was the src folder there before compiling? From reading their installation howto, I would hazard a guess that the src folder in /home/desktop/.../pear../ is the newly created directory they are talking about. So, i think the config file should be placed there and then continue with their instructions.
    Life is complex, it has a real part and an imaginary part.

  8. #7
    Linux Newbie
    Join Date
    Jul 2005
    Posts
    122
    there are no other errors except for the one mentioned. i also decided to place the config file manually.

    I gotta go to bed, but i'll check back in the morning.

    thanks for all your help
    -fanfan
    There is no problem so complicated that you cannot find a very simple answer to it if you look at it in the right way

  9. #8
    Linux Newbie
    Join Date
    Jul 2005
    Posts
    122
    Argh...I have a major science project to do, and don't have the time to work on this. Hopefully I'll get it to work in about 4 weeks.

    grrrrrr
    There is no problem so complicated that you cannot find a very simple answer to it if you look at it in the right way

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •