Changes

Jump to: navigation, search

User:Vpmirand/Assignment1

3,073 bytes added, 22:48, 17 September 2006
no edit summary
==Problems Encountered==
During my Firefox build in Ubuntu I came across two errors that took me awhile to figuire out, since I was not familiarized on how Ubuntu worked.
One of the errors I faced was to do with two missing packages not being installed.
 
<pre>
1. checking for pkg-config... /usr/bin/pkg-config
2. checking for gtk+-2.0 >= 1.3.7 gdk-x11-2.0 glib-2.0 gobject-2.0... Package gtk+-2.0 was not
found in the pkg-config search path. Perhaps you should add the directory containing
`gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' foun d Package
gdk-x11-2.0 was not found in the pkg-config search path. Perhaps you should a dd the directory
containing `gdk-x11-2.0.pc' to the PKG_CONFIG_PATH environment variabl e No package
'gdk-x11-2.0' found Package glib-2.0 was not found in the pkg-config searc h path. Perhaps you
should add the directory containing `glib-2.0.pc' to the PKG_CONFIG _PATH environment variable
No package 'glib-2.0' found Package gobject-2.0 was not foun d in the pkg-config search path.
Perhaps you should add the directory containing `gobje ct-2.0.pc' to the PKG_CONFIG_PATH
environment variable No package 'gobject-2.0' found
3. configure: error: Library requirements (gtk+-2.0 >= 1.3.7 gdk-x11-2.0 glib-2.0 gobject- 2.0)
not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libra ries are in
a nonstandard prefix so pkg-config can find them.
4. *** Fix above errors and then restart with "make -f client.mk build"
5. make[1]: *** [configure] Error 1
6. make[1]: Leaving directory `/home/admin/mozilla'
7. make: *** [/home/admin/mozilla/firefox-objdir/Makefile] Error 2
</pre>
 
I solved this problem by first using Google to find a solution. I couldn't find a solution online so I tried asking a classmate who had built Firefox to see if they would be able to help me. I was then told to install two packages libidl-dev and libgtk2.0-dev from the synaptic package manager. After the installation of the packages the error was solved.
 
On my second build I came across another error that had to do with another missing package.
 
<pre>
1. checking for sys/int_types.h... no
2. configure: error: Could not compile basic X program.
3. *** Fix above errors and then restart with "make -f client.mk build"
4. make[1]: *** [configure] Error 1
5. make[1]: Leaving directory `/home/admin/mozilla'
6. make: *** [/home/admin/mozilla/Makefile] Error 2
</pre>
 
I solved this problem by first using Google to find a solution. I found a solution online that stated for me to install a package which I had already installed, so this was obviously not of use. I then posted my error on [http://www.pastebin.ca Paste Bin] and pasted the link on the IRC Chat in the #Seneca room. Philip Vitorino told me to try and install a package called libxt-dev and see if it solved the problem. It definitely solved the problem and I was able to build Firefox completely.
=Screenshot=
*Tom Aratyn(mystic) [Helped with building Firefox on Windows XP Professional system]
Thank I would like to thank you all very much for taking the time to help me with the problems I faced when building Firefox.
=Conclusion=
Info
1
edit

Navigation menu