Changes

Jump to: navigation, search

Winter 2010 Posters/GCC4.5 Packaging/ViewSource Packaging

2,994 bytes added, 04:30, 18 April 2010
Acknowledgements and Links
= Description of work + goals =
* Goal
Our goal by Primary Goal and Focus was to package the end of DXR 'viewsource' web application tool and dependencies, (Dehydra and Jshydra), as a first step towards packaging the semester was to get full DXR workingsystem for wide, reliable distribution. DXR contains components such as Dehydra, Jshydra, Viewsource, and a Modified GCC compiler. We had to essentially build each of these from scratch in DXR was originally created by David Humphrey as an attempt to put it all together and finish in timeexperiment.
*Definition of PackaginPackaging
Description Packaging is defined as the process of archiving files together along with information about the package, like its current version, a description of what the package is meant to do, etc. Packages are deployed in order to solve a software issue or resolve a package dependency. Packagesare all grouped together in what are called "Package Repositories" developed and maintained by "Repo Masters". This is where the packages come from when you "yum install" any package off your machine. The DXR repository is located on scotland and can be accessed through the web browser - [http://scotland.proximity.on.ca/DXR/ DXR]
*Dehydra
Dehydra is a static analysis tools tool able to analyze application specif C++ codes. Dehydra can be compared to as a searching tool as well. It is able to display a vast amount of information consisely using Javascripts. This tool is able to help fromo bugs in source codes, which is provides more error checking than C++ is able to by itself. Dehydra is a plugin for GCC, which make it easy to use for projects that supports GCC.
*JSHyrda
JSHydra is static tool that is able to analyze general JavaScript Code. It was formed with the concept of previous tools Dehydra and Treehydra, which performs C++ code analysis. The backend of this tool, breaks down the Javascript code using a SpiderMonkey Engine. The breakdown of the codes are executed by running Javascripts.
 
*Viewsource
(Viewsource Screenshot)
 
 
Both Dehydra and Jshydra where built and finished with no errors that we knew of, although the true test would be when we incorporate GCC with it. So far Viewsource and Dehydra are ready for fedora review while Jshydra still has to be prepared.
* GCC
The challenge we face on the final part of the project is to build on a beta release of a compiler. Luckily for us we are able to reference our work with an earlier version of this compiler.
The first task was to create a SPEC file. A SPEC file is file that has a list of instructions that will be used by a building tool to build our packages. The problems we faced with our build are a bunch or errors linking back to libraries that it cannot find and incorrect path names. After lots of Google searching and communication on Seneca’s Channel on IRC, we were able to fix that issue. The solutions to our problems are using the correct options to build and use patches that will alter the code. After solving the issue we continued to build but this time we came across an issue, that even Google cannot help us with. To try to fix our issue we tried to email the package create of GCC, but sadly we did not hear back from them. Since our attempt to create a SPEC file was a disaster, we copied the SPEC file from the previous release of an older package and modified it to fix our needs. With the numerous amount of modification to the SPEC file we started the build process, unlike our scratch SPEC file, the build times were significantly less. The errors would happen in the earlier stage of the build. These errors consist of missing dependencies, missing files, missing paths to directories. The missing dependencies are a easy fix, I just needed to install them, but the missing files, and other errors we had trouble solving. Again with communication in the Fedora community, we were unable to solve it. A suggestion was to do a command line build. After speaking with the Fedora community, they suggested that we try to do a command line build from the GCC 4.5 tarball. With their advice, we extracted the GCC 4.5 file and started building from command line. The result of the compile the source and install it successfully into our system. Now our remaining task is to compare the configuration settings between the source and our build tool and work around our findings. Until we can figure this problem, our project is on a stand still. (build-failure-64bit.png) +(build-failure-32bit.png)
= Summary and set of conclusions =
All of the other fundamental components are built however our project 's completion process is still in the midst of being complete impeded due to GCC. Once GCC is finished it will be tested with the other components and then GCC and jshydra will be prepped according to the fedora review guidelines and we will have our DXR complete.
= Acknowledgements and Links =
* Chris Tyler - http://blog.chris.tylers.info/
* Boris Chao Blog - http://blog.bchao.ca
* Jonathan Deni Blog - http://jonathandeni.blogspot.com/
* DXR Website - http://dxr.proximity.on.ca/dxr/
* Dehydra - https://developer.mozilla.org/en/Dehydra?rdfrom=https%3A%2F%2Fwiki.mozilla.org%2Findex.php%3Ftitle%3DDeHydra%26redirect%3Dno
*Fedora Project - http://fedoraproject.org/
* GCC - http://gcc.gnu.org/
* JSHydra - https://developer.mozilla.org/en/JSHydra
* Project Repo - http://scotland.proximity.on.ca/DXR/
= Logos =
1
edit

Navigation menu