[Elphel-support] Issue with PPA
Hi Diana, No, for password just hit Enter (it's empty for anonymous user download from SourceForge). After that you should have a elphel353-8.1.0.5 folder on the same level with install_elphel inside, right? regards, Oleg On 19 August 2011 12:53, Diana Carrigan dianaejohn...@maxim-ic.com wrote: I tried to re-install , but I’m seeing the same error. When I run the elphel353_80_install_from_cvs.sh script ** ** It’s asking for a CVS password after it logs into : pserver:anonym...@elphel.cvs.sourceforge.net:2401/cvsroot/elphel ** ** Is there a specific password I need? ** ** When I put in my normal root password, it says ** ** cvs login: authorization failed: server elphel.cvs.sourceforge.netrejected access to /cvsroot/elphel for user anonymous ** ** Could this be causing me problems? ** ** Diana ** ** *From:* andersonnotg...@gmail.com [mailto:andersonnotg...@gmail.com] *On Behalf Of *Oleg K Dzhimiev *Sent:* Wednesday, August 17, 2011 4:58 PM *To:* Diana Carrigan *Cc:* elphel support-list *Subject:* Re: [Elphel-support] Issue with PPA ** ** Could you try to reinstall cris-dist (if the failed manual installation was the last one then it might have cleaned everything without installing): in the command line: sudo apt-get purge cris-dist sudo apt-get install cris-dist If you feel more comfortable with a graphical user interface this can be done in the KPackageKit - launch it and find cris-dist. Oleg On 17 August 2011 16:34, Diana Carrigan dianaejohn...@maxim-ic.com wrote: Hi Oleg, I did as you suggested; however, when running the install_elphel application, I got the following errors. This stuff is all new to me..so I really appreciate your help! Diana Verifying Axis Development Board R2_10 Arcive (devboard-R2_10.tar.gz in /home/dcarrigan/Downloads/distfiles) OK ---processing /home/dcarrigan/Downloads/distfiles/devboard-R2_10.tar.gz*** * ---creating link to downloaded (or to be downloaded) files ---copying Elphel files needed before ./configure Running Axis configure `../elphel_preconfigure/configure-files/source-R1_12_0/functions' - `./configure-files/source-R1_12_0/functions' * Unpacking distfiles/tools-build-R2_19_3.tar.gz... done * Unpacking distfiles/configure-files-devboard-AC_common-tag--devboard-R2_10-1.tar.gz... done * Unpacking distfiles/configure-files-devboard-AC_general-tag--devboard-R2_10-1.tar.gz... done * Unpacking distfiles/configure-files-devboard-AC_hardware-tag--devboard-R2_10-1.tar.gz... done * Unpacking distfiles/configure-files-devboard-AC_libraries-tag--devboard-R2_10-1.tar.gz... done * Unpacking distfiles/configure-files-devboard-AC_network_application-tag--devboard-R2_10-1.tar.gz... done * Unpacking distfiles/configure-files-devboard-AC_network_protocol-tag--devboard-R2_10-1.tar.gz... done * Unpacking distfiles/configure-files-devboard-AC_web-tag--devboard-R2_10-1.tar.gz... done * Unpacking distfiles/configure-files-common-AC_common-tag--devboard-R2_10-1.tar.gz... done * Select which product configuration to use. * 1. elphel353 - Elphel (R) Model 353 Camera * Specify product [1-1] (default: 1): * Selected product is elphel353 To select another product run: DEV_BOARD_PRODUCT=product name ./configure * The SDK installation will soon start download and install the source packages required for the default configuration. If you would like to use a different configuration you can configure the SDK, hence avoid downloading and installing of unnecessary packages. * Would you like to configure the SDK now [y/n] (default: n)? * Unpacking distfiles/configure-files-common-common-tag--devboard-R2_10-1.tar.gz... done * Unpacking distfiles/modules-rules.build_modules-R1_1_1.tar.gz... done* *** * Unpacking distfiles/tools-iopasm-IR1_4-2.tar.gz... done * Unpacking distfiles/modules-Rules.iop-R1_1_0.tar.gz... done * Error in function called from file: configure-files/common/common = ./configure: compiler: Cannot not find compiler crisv32-axis-linux-gnu-gcc!** ** Try modifying your PATH. *From:* Oleg [mailto:andersonnotg...@gmail.com] *Sent:* Wednesday, August 17, 2011 3:28 PM *To:* Diana Carrigan *Cc:* Andrey Filippov *Subject:* Re: [Elphel-support] Issue with PPA Diana, I changed wiki instructions them too less confusing. The thing is after you do sudo apt-get install cris-dist the cris cross-compiler will be installed and you can proceed to Build Elphel Software. Best regards, Oleg On 17 August 2011 14:53, Diana Carrigan dianaejohn...@maxim-ic.com wrote: Hi, Andrey, Yes we are trying to develop software and compile our
Re: [Elphel-support] Issue with PPA
Oh ok, The problem is that the cross-compiler is not installed on your system. 1) in terminal ls -all /usr/local/cris should display something close to that in the attachement 2) So you have also tried to reinstall cris-dist package, right? (just reminding) sudo apt-get purge cris-dist Then I'd check if /usr/local/cris is still there and delete it (but it should be already deleted). sudo apt-get install cris-dist Btw, what's your OS version? Also, is it 64 or 32-bits? I'll try to reproduce it if it's 32. 3) If the 2) didn't work out could try again a manual installation. The same cris tools log? 4) if non above worked - could you please send the results. Around next Tuesday we will have a live-dvd iso image with cris-dist preinstalled. Oleg * Error in function called from file: configure-files/common/common = ./configure: compiler: Cannot not find compiler crisv32-axis-linux-gnu-gcc! Try modifying your PATH. On 19 August 2011 13:37, Diana Carrigan dianaejohn...@maxim-ic.com wrote: Hi Oleg, ** ** Yes, the directory elphel353-8.1.0.5 is created, and “install_elphel” is inside. When I run the install_elphel script is when I see the error. I’ve attached the build.log ** ** Thanks, ** ** Diana ** ** *From:* andersonnotg...@gmail.com [mailto:andersonnotg...@gmail.com] *On Behalf Of *Oleg *Sent:* Friday, August 19, 2011 1:19 PM *To:* Diana Carrigan *Cc:* elphel support-list *Subject:* [Elphel-support] Issue with PPA ** ** Hi Diana, No, for password just hit Enter (it's empty for anonymous user download from SourceForge). After that you should have a elphel353-8.1.0.5 folder on the same level with install_elphel inside, right? regards, Oleg On 19 August 2011 12:53, Diana Carrigan dianaejohn...@maxim-ic.com wrote: I tried to re-install , but I’m seeing the same error. When I run the elphel353_80_install_from_cvs.sh script It’s asking for a CVS password after it logs into : pserver:anonym...@elphel.cvs.sourceforge.net:2401/cvsroot/elphel Is there a specific password I need? When I put in my normal root password, it says cvs login: authorization failed: server elphel.cvs.sourceforge.netrejected access to /cvsroot/elphel for user anonymous Could this be causing me problems? Diana *From:* andersonnotg...@gmail.com [mailto:andersonnotg...@gmail.com] *On Behalf Of *Oleg K Dzhimiev *Sent:* Wednesday, August 17, 2011 4:58 PM *To:* Diana Carrigan *Cc:* elphel support-list *Subject:* Re: [Elphel-support] Issue with PPA Could you try to reinstall cris-dist (if the failed manual installation was the last one then it might have cleaned everything without installing): in the command line: sudo apt-get purge cris-dist sudo apt-get install cris-dist If you feel more comfortable with a graphical user interface this can be done in the KPackageKit - launch it and find cris-dist. Oleg On 17 August 2011 16:34, Diana Carrigan dianaejohn...@maxim-ic.com wrote: Hi Oleg, I did as you suggested; however, when running the install_elphel application, I got the following errors. This stuff is all new to me..so I really appreciate your help! Diana Verifying Axis Development Board R2_10 Arcive (devboard-R2_10.tar.gz in /home/dcarrigan/Downloads/distfiles) OK ---processing /home/dcarrigan/Downloads/distfiles/devboard-R2_10.tar.gz*** * ---creating link to downloaded (or to be downloaded) files ---copying Elphel files needed before ./configure Running Axis configure `../elphel_preconfigure/configure-files/source-R1_12_0/functions' - `./configure-files/source-R1_12_0/functions' * Unpacking distfiles/tools-build-R2_19_3.tar.gz... done * Unpacking distfiles/configure-files-devboard-AC_common-tag--devboard-R2_10-1.tar.gz... done * Unpacking distfiles/configure-files-devboard-AC_general-tag--devboard-R2_10-1.tar.gz... done * Unpacking distfiles/configure-files-devboard-AC_hardware-tag--devboard-R2_10-1.tar.gz... done * Unpacking distfiles/configure-files-devboard-AC_libraries-tag--devboard-R2_10-1.tar.gz... done * Unpacking distfiles/configure-files-devboard-AC_network_application-tag--devboard-R2_10-1.tar.gz... done * Unpacking distfiles/configure-files-devboard-AC_network_protocol-tag--devboard-R2_10-1.tar.gz... done * Unpacking distfiles/configure-files-devboard-AC_web-tag--devboard-R2_10-1.tar.gz... done * Unpacking distfiles/configure-files-common-AC_common-tag--devboard-R2_10-1.tar.gz... done * Select which product configuration to use. * 1. elphel353 - Elphel (R) Model 353 Camera * Specify product [1-1] (default: 1): * Selected product is elphel353 To select another product run: DEV_BOARD_PRODUCT
Re: [Elphel-support] Issue with PPA
Great! When I re-installed it earlier, I hadn't deleted it first with the purge command. Your diagnosis was correct, the install is now successful. Thanks for your help! Diana From: andersonnotg...@gmail.com [mailto:andersonnotg...@gmail.com] On Behalf Of Oleg Sent: Friday, August 19, 2011 2:21 PM To: Diana Carrigan Cc: elphel support-list Subject: Re: [Elphel-support] Issue with PPA Oh ok, The problem is that the cross-compiler is not installed on your system. 1) in terminal ls -all /usr/local/cris should display something close to that in the attachement 2) So you have also tried to reinstall cris-dist package, right? (just reminding) sudo apt-get purge cris-dist Then I'd check if /usr/local/cris is still there and delete it (but it should be already deleted). sudo apt-get install cris-dist Btw, what's your OS version? Also, is it 64 or 32-bits? I'll try to reproduce it if it's 32. 3) If the 2) didn't work out could try again a manual installation. The same cris tools log? 4) if non above worked - could you please send the results. Around next Tuesday we will have a live-dvd iso image with cris-dist preinstalled. Oleg * Error in function called from file: configure-files/common/common = ./configure: compiler: Cannot not find compiler crisv32-axis-linux-gnu-gcc! Try modifying your PATH. On 19 August 2011 13:37, Diana Carrigan dianaejohn...@maxim-ic.commailto:dianaejohn...@maxim-ic.com wrote: Hi Oleg, Yes, the directory elphel353-8.1.0.5 is created, and install_elphel is inside. When I run the install_elphel script is when I see the error. I've attached the build.log Thanks, Diana From: andersonnotg...@gmail.commailto:andersonnotg...@gmail.com [mailto:andersonnotg...@gmail.commailto:andersonnotg...@gmail.com] On Behalf Of Oleg Sent: Friday, August 19, 2011 1:19 PM To: Diana Carrigan Cc: elphel support-list Subject: [Elphel-support] Issue with PPA Hi Diana, No, for password just hit Enter (it's empty for anonymous user download from SourceForge). After that you should have a elphel353-8.1.0.5 folder on the same level with install_elphel inside, right? regards, Oleg On 19 August 2011 12:53, Diana Carrigan dianaejohn...@maxim-ic.commailto:dianaejohn...@maxim-ic.com wrote: I tried to re-install , but I'm seeing the same error. When I run the elphel353_80_install_from_cvs.sh script It's asking for a CVS password after it logs into :pserver:anonym...@elphel.cvs.sourceforge.net:2401/cvsroot/elphelhttp://pserver:anonym...@elphel.cvs.sourceforge.net:2401/cvsroot/elphel Is there a specific password I need? When I put in my normal root password, it says cvs login: authorization failed: server elphel.cvs.sourceforge.nethttp://elphel.cvs.sourceforge.net rejected access to /cvsroot/elphel for user anonymous Could this be causing me problems? Diana From: andersonnotg...@gmail.commailto:andersonnotg...@gmail.com [mailto:andersonnotg...@gmail.commailto:andersonnotg...@gmail.com] On Behalf Of Oleg K Dzhimiev Sent: Wednesday, August 17, 2011 4:58 PM To: Diana Carrigan Cc: elphel support-list Subject: Re: [Elphel-support] Issue with PPA Could you try to reinstall cris-dist (if the failed manual installation was the last one then it might have cleaned everything without installing): in the command line: sudo apt-get purge cris-dist sudo apt-get install cris-dist If you feel more comfortable with a graphical user interface this can be done in the KPackageKit - launch it and find cris-dist. Oleg On 17 August 2011 16:34, Diana Carrigan dianaejohn...@maxim-ic.commailto:dianaejohn...@maxim-ic.com wrote: Hi Oleg, I did as you suggested; however, when running the install_elphel application, I got the following errors. This stuff is all new to me..so I really appreciate your help! Diana Verifying Axis Development Board R2_10 Arcive (devboard-R2_10.tar.gz in /home/dcarrigan/Downloads/distfiles) OK ---processing /home/dcarrigan/Downloads/distfiles/devboard-R2_10.tar.gz ---creating link to downloaded (or to be downloaded) files ---copying Elphel files needed before ./configure Running Axis configure `../elphel_preconfigure/configure-files/source-R1_12_0/functions' - `./configure-files/source-R1_12_0/functions' * Unpacking distfiles/tools-build-R2_19_3.tar.gz... done * Unpacking distfiles/configure-files-devboard-AC_common-tag--devboard-R2_10-1.tar.gz... done * Unpacking distfiles/configure-files-devboard-AC_general-tag--devboard-R2_10-1.tar.gz... done * Unpacking distfiles/configure-files-devboard-AC_hardware-tag--devboard-R2_10-1.tar.gz... done * Unpacking distfiles/configure-files-devboard-AC_libraries-tag--devboard-R2_10-1.tar.gz... done * Unpacking distfiles/configure-files-devboard-AC_network_application-tag--devboard-R2_10-1.tar.gz... done * Unpacking distfiles/configure-files-devboard-AC_network_protocol-tag--devboard-R2_10-1.tar.gz... done * Unpacking distfiles/configure-files-devboard-AC_web-tag--devboard-R2_10-1.tar.gz... done * Unpacking
Re: [Elphel-support] Issue with PPA
Hi Andrey, I have now successfully installed the Elphel Software, KDevelop 3.5 and opened the elphel353.kdevelop project. I have also installed the Xilinx ISE WebPACK 10.1. I believe my designers are actually most interested in FPGA development. I installed the Xilinx software PRIOR to the camera software. Any advice or documentation you have on doing FPGA development might be helpful. Diana From: elp...@gmail.com [mailto:elp...@gmail.com] On Behalf Of Andrey Filippov Sent: Wednesday, August 17, 2011 3:35 PM To: Diana Carrigan; support-list@support.elphel.com Subject: Re: Issue with PPA Diana, It is understandable that Axis did not reply - they ended this line of processors and we are also working on replacing the CPU in Elphel cameras with ARM. Did it work to install the pre-compiled gcc-cris from ppa? And when you tried to compile - did you ally patches to the gcc-cris source (listed on the wiki)? What version of the GCC did you use to compile? What kind of software do you to compile for the camera - application, kernel driver? Did you consider using PHP with custom (camera-specific) extensions - it works well in many cases, i.e. you can use it to create a custom camera API. For developing in-camera software I would recommend using KDevelop - unfortunately you have to use older 3.5 version, but we were able to successfully install it on recent Ubuntu systems, the prep_kdevelop.php in the top installation directory of Elphel software makes KDevelop project - it includes all the Elphel-specific files on different levels of the software so it is much easier to navigate the code using built-in ctags and grep interface. If you are editing kernel files, then pressing Compile in the menu re-builds the kernel drivers, if you are editing application - it will compile and install it under target directory - directory structure that is copied to the camera, so while working on some application you may just ftp it from there to the camera. Selecting build project rebuilds the whole project and generates the binary image that is copied to the nfs directory on your computer (default - /nfs), where the camera can grab it and copy to the flash memory. When building the project - look at possible mis-match in target.list - any differences are reported. It may happen that because of some compilation errors the generated image will have some of the files missing, so that image may hang during boot. The build script compares the directory structure of the generated target with the known-good list. Andrey On Wed, Aug 17, 2011 at 2:53 PM, Diana Carrigan dianaejohn...@maxim-ic.commailto:dianaejohn...@maxim-ic.com wrote: Hi, Andrey, Yes we are trying to develop software and compile our programs to run in the camera. I'm following the instructions in the document titled Elphel Software Kit for Ubuntu, found on the Wiki. My next big tackle seems to be compiling gcc-cris. I have sent the install-cris-tools_log to compiler-cont...@axis.commailto:compiler-cont...@axis.com, but they have not responded. I seeing the following message: **buffer overflow detected**: cris-axis-elf-ar terminiated And then the program aborts with an Error 2. If any of your experts have any ideas, please let know! I've attached the log. Thanks again , Diana ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
[Elphel-support] Issue with PPA
-- Forwarded message -- From: Oleg andersonnotg...@gmail.com Date: 17 August 2011 15:28 Subject: Re: [Elphel-support] Issue with PPA To: Diana Carrigan dianaejohn...@maxim-ic.com Cc: Andrey Filippov and...@elphel.com Diana, I changed wiki instructions them too less confusing. The thing is after you do sudo apt-get install cris-dist the cris cross-compiler will be installed and you can proceed to Build Elphel Software. Best regards, Oleg On 17 August 2011 14:53, Diana Carrigan dianaejohn...@maxim-ic.com wrote: Hi, Andrey, ** ** Yes we are trying to develop software and compile our programs to run in the camera. I’m following the instructions in the document titled Elphel Software Kit for Ubuntu, found on the Wiki. ** ** My next big tackle seems to be compiling gcc-cris. ** ** I have sent the install-cris-tools_log to compiler-cont...@axis.com, but they have not responded. I seeing the following message: ** ** **buffer overflow detected**: cris-axis-elf-ar terminiated ** ** ** ** And then the program aborts with an Error 2. ** ** If any of your experts have any ideas, please let know! I’ve attached the log. ** ** Thanks again , ** ** Diana ** ** ** ** *From:* elp...@gmail.com [mailto:elp...@gmail.com] *On Behalf Of *Andrey Filippov *Sent:* Wednesday, August 17, 2011 1:54 PM *To:* Diana Carrigan *Cc:* internal *Subject:* Re: Issue with PPA ** ** Diana, I'll ask our team members who dealt with launchpad to investigate this issue. Meanwhile - maybe I can help you to achieve your goal differently? (as I wrote earlier - launchpad is new for us, and I personally do not have much experience with it, used Sourceforge) What are you trying to do - install development software to compile you programs to run in the camera? Or something different? Also - can you direct your technical questions to our mailing list? There are more people who can help there. You do not have to subscribe to the list, the first message will be delayed in the moderation queue until some of us add your email to the white list, after that your messages will go through immediately. The list info page - http://www3.elphel.com/list Archive of the previous messages - http://www.mail-archive.com/support-list@support.elphel.com/ You may email to support-list@support.elphel.com (first message will be held in moderation queue) Andrey On Wed, Aug 17, 2011 at 1:16 PM, Diana Carrigan dianaejohn...@maxim-ic.com wrote: Hi Andrey, I’m still seeing this issue. I think the issue is that the command is adding -name after ppa. W: Failed to fetch http://ppa.launchpad.net/elphel/ppa-name/ubuntu/dists/natty/main/source/Sources 404 Not Found W: Failed to fetch http://ppa.launchpad.net/elphel/ppa-name/ubuntu/dists/natty/main/binary-i386/Packages 404 Not Found Thanks, Diana *From:* elp...@gmail.com [mailto:elp...@gmail.com] *On Behalf Of *Andrey Filippov *Sent:* Tuesday, August 16, 2011 3:23 PM *To:* Diana Carrigan *Cc:* Elphel *Subject:* Re: Issue with PPA Hello Diana, Can you try again, please? We also had problems with the Launchpad about an hour ago. If the error persists - we'll try to fix it. We just recently started to distribute software through the Launchpad, used only Sourceforge before. Andrey On Tue, Aug 16, 2011 at 3:08 PM, Diana Carrigan diana.carri...@maxim-ic.com wrote: I'm following the instructions for adding ppa:elphel/ppa to your system's Software Sources using the command: sudo add-apt-repository ppa:elphel/ppa The result being: Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80/ --recv 4236C2558A35918FCFD1DB956050780EC7A72F76 gpg: requesting key C7A72F76 from hkp server keyserver.ubuntu.com gpg: key C7A72F76: Launchpad PPA for elphel not changed gpg: Total number processed: 1 gpg: unchanged: 1 This appears to work properly; however when I try to update sudo apt-get update I get the following error: W: Failed to fetch http://ppa.launchpad.net/elphel/ppa- name/ubuntu/dists/natty/main/source/Sources 404 Not Found W: Failed to fetch http://ppa.launchpad.net/elphel/ppa- name/ubuntu/dists/natty/main/binary-i386/Packages 404 Not Found Your help would be appreciated. Diana -- This message was sent from Launchpad by Diana Carrigan (https://launchpad.net/~diana-carrigan) using the Contact this team's owner link on the elphel team page (https://launchpad.net/~elphel). For more information see https://help.launchpad.net/YourAccount/ContactingPeople
Re: [Elphel-support] Issue with PPA
Diana, It is understandable that Axis did not reply - they ended this line of processors and we are also working on replacing the CPU in Elphel cameras with ARM. Did it work to install the pre-compiled gcc-cris from ppa? And when you tried to compile - did you ally patches to the gcc-cris source (listed on the wiki)? What version of the GCC did you use to compile? What kind of software do you to compile for the camera - application, kernel driver? Did you consider using PHP with custom (camera-specific) extensions - it works well in many cases, i.e. you can use it to create a custom camera API. For developing in-camera software I would recommend using KDevelop - unfortunately you have to use older 3.5 version, but we were able to successfully install it on recent Ubuntu systems, the prep_kdevelop.php in the top installation directory of Elphel software makes KDevelop project - it includes all the Elphel-specific files on different levels of the software so it is much easier to navigate the code using built-in ctags and grep interface. If you are editing kernel files, then pressing Compile in the menu re-builds the kernel drivers, if you are editing application - it will compile and install it under target directory - directory structure that is copied to the camera, so while working on some application you may just ftp it from there to the camera. Selecting build project rebuilds the whole project and generates the binary image that is copied to the nfs directory on your computer (default - /nfs), where the camera can grab it and copy to the flash memory. When building the project - look at possible mis-match in target.list - any differences are reported. It may happen that because of some compilation errors the generated image will have some of the files missing, so that image may hang during boot. The build script compares the directory structure of the generated target with the known-good list. Andrey On Wed, Aug 17, 2011 at 2:53 PM, Diana Carrigan dianaejohn...@maxim-ic.comwrote: Hi, Andrey, ** ** Yes we are trying to develop software and compile our programs to run in the camera. I’m following the instructions in the document titled Elphel Software Kit for Ubuntu, found on the Wiki. ** ** My next big tackle seems to be compiling gcc-cris. ** ** I have sent the install-cris-tools_log to compiler-cont...@axis.com, but they have not responded. I seeing the following message: ** ** **buffer overflow detected**: cris-axis-elf-ar terminiated ** ** ** ** And then the program aborts with an Error 2. ** ** If any of your experts have any ideas, please let know! I’ve attached the log. ** ** Thanks again , ** ** Diana ___ Support-list mailing list Support-list@support.elphel.com http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com