I have a problem here.... I am trying to compile a K-meleon.Problem is ...
I can not find CLEAR instructions on how to do it and and the steps to be taken.
GUenter has tried to help me but ...I do not know i must be very idiot because i can not understend what he is trying to tell me...
Folowing the confuzing instructions i ended up installing all this programs on my computer
# Mozilla source code, currently SeaMonkey seamonkey-1.1.16.source.tar.bz2
# K-Meleon source code, currently K-MeleonBE1.5.7z
Acrobat.com
Adobe AIR
Adobe Flash Player 10 ActiveX
Adobe Flash Player 10 Plugin
Adobe Reader 9.1
Adobe Shockwave Player 11.5
Cygwin
getPlus(R) for Adobe
GORILLA 2 K-MELEON
Java(TM) 6 Update 13
Microsoft .NET Compact Framework 3.5
Microsoft .NET Framework 1.1
Microsoft .NET Framework 2.0 Service Pack 2
Microsoft .NET Framework 3.0 Service Pack 2
Microsoft .NET Framework 3.5 SP1
Microsoft Document Explorer 2008
Microsoft SQL Server 2008 Management Objects
Microsoft Visual Basic 2005 Express Edition - ENU
Microsoft Visual C++ 2005 Redistributable
Microsoft Visual C++ 2008 Express Edition with SP1 - ENU
Microsoft Visual C++ 2008 Redistributable - x86 9.0.21022
Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729
Microsoft Visual C++ Compilers 2008 Standard Edition - enu - x86
Microsoft Visual C++ Toolkit 2003
Microsoft Windows SDK for Visual Studio 2008 Headers and Libraries
Microsoft Windows SDK for Visual Studio 2008 SP1 Express Tools for .NET Framework - enu
Microsoft Windows SDK for Visual Studio 2008 SP1 Express Tools for Win32
Microsoft Windows SDK for Windows Server 2008 (6001.18000.367)
MinGW 5.1.4
MinGW Developer Studio
Netscape wintools
SQL Server System CLR Types
WinRAR archiver
I Created a directory where everything went. I named C:\projects. I also Created two more in there, one named mozilla and the other kmeleon. After that, I unzipped the respective source code packages with the archive program in their respective directories.
That`s what it looks like:
C:\projects\mozilla\mozilla ( Where there`s a lot of folders 230 MB 5449 FOLDERS INSIDE)
C:\projects\kmeleon with two folders inside: mozilla(20.6 MB 119 FOLDERS)
and src (5.74 137 FOLDERS)
AND than i got stucked at this level
How to Configure
You'll need a batch file in your projects directory to set up the environment prior to compiling:
When you start looking for instructions on how to create a k-meleon distribution you can not find anyting on internet because most of the people would be keeping silent..
So,I want to create a distribution....I downloaded like 14 GB of programs...
Than the more i read the more programs i have instaled untill i have ended with half of my hard disk full of programs and stuff...
I already got the k-meleon source code and semonkey`s source code...Following some very old instructions i managed to make two steps and than i am blocked...i asked for help....
Among all of you guys it was only Guenter who actually told me something..My problem is I tried to follow his instructions and i have failed..It must be the fact than both of us we`re speaking in english which is not our native language...
However i pride myself that i speak enough english to follow instructions....Somehow i failed..
I am not new at computers and modding things..I am patient ...Last time i spent almost a month working day by day 6 hours per day on crome files manually deleting files ,replacing it testing it untill i ended up with a very slim k-meleon..
I would like to take the set of skills i have furter...I would like to learn how To create a distribution...So once again...Could anyone provide me with a set of instructions (A tutorial if you want...) on HOW TO DO IT???
Thanks a lot guys...
Edited 1 time(s). Last edit at 05/18/2009 01:42PM by Gorilla no baka.
I managed to create the .mozconfig file (I had to save it as all files because it was keep saving itselsf as .txt)
Now the next step ...
Build the Mozilla Source Code
Open a command prompt, and go to the projects directory with it. Run your batch file. Next, enter the mozilla directory, and use the following command to start building:
make -f client.mk build
In my case somehow the mozilla directory is kinda funny aranged:
Here is my path C:\projects\mozilla\mozilla
Now,look what is happening below:
C:\projects\mozilla>make -f client.mk build
'make' is not recognized as an internal or external command,
operable program or batch file.
# Mozilla source code, currently SeaMonkey seamonkey-1.1.16.source.tar.bz2
# K-Meleon source code, currently K-MeleonBE1.5.7z
Acrobat.com Adobe AIR Adobe Flash Player 10 ActiveX
Adobe Flash Player 10 Plugin
Adobe Reader 9.1
Adobe Shockwave Player 11.5
Cygwin
getPlus(R) for Adobe GORILLA 2 K-MELEON Java(TM) 6 Update 13
Microsoft .NET Compact Framework 3.5
Microsoft .NET Framework 1.1
Microsoft .NET Framework 2.0 Service Pack 2
Microsoft .NET Framework 3.0 Service Pack 2
Microsoft .NET Framework 3.5 SP1
Microsoft Document Explorer 2008 Microsoft SQL Server 2008 Management Objects
Microsoft Visual Basic 2005 Express Edition - ENU
Microsoft Visual C++ 2005 Redistributable
Microsoft Visual C++ 2008 Express Edition with SP1 - ENU
Microsoft Visual C++ 2008 Redistributable - x86 9.0.21022
Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729
Microsoft Visual C++ Compilers 2008 Standard Edition - enu - x86
Microsoft Visual C++ Toolkit 2003
Microsoft Windows SDK for Visual Studio 2008 Headers and Libraries
Microsoft Windows SDK for Visual Studio 2008 SP1 Express Tools for .NET Framework - enu
Microsoft Windows SDK for Visual Studio 2008 SP1 Express Tools for Win32
Microsoft Windows SDK for Windows Server 2008 (6001.18000.367)
MinGW 5.1.4
MinGW Developer Studio
Netscape wintools
SQL Server System CLR Types
WinRAR archiver
Hogwash Not needed or obsolete. Or needed only by certain features that are not always updated.
SDK recommended is Vista SDK for all current builds.
Other SDK? Depends what You want.
Updating with redistributables is recommended.
Minimalistic build environment for updating K-Meleon GRE 1.8.1.x
1a) You need the Mozilla-Build environament from Windows_Build_Prerequisites
(link from build Prerequisitives Page. Some tools have a recommended location.)
It contain the up to date tools to make any Mozilla GRE.
1b.) And the Source naturally.
Attached bats go into & start free toolkit compilation with Toolkit 2003 from the mozilla-build environment.
Belong together and do 1.9.X GRE. K-Meleon 1.6?
Microsoft Visual Basic 2005 Express Edition - ENU // still exist as Download even from MS but is hidden (Google it)
Microsoft .NET Framework 2.0 & Service Pack 2
Belong together and do 1.9.X GRE. K-Meleon 1.6?
Microsoft Visual C++ 2008 Express Edition with SP1 - ENU
Microsoft .NET Framework 3.0 Service Pack 2
Microsoft .NET Framework 3.5 SP1 partly
Microsoft .NET Framework 3.5 SP1 updates possibly older environments too.
p.s. check on Windows_Build_Prerequisites
(link from build Prerequisitives Page. Some tools have a recommended location.)
in case I forgot something - which I probably did
Edited 8 time(s). Last edit at 05/31/2011 08:02PM by guenter.
NMAKE : fatal error U1073: don't know how to make 'build_all'
Do not use obsolete instructions and toolz. Maybe nmake is used by minGW. We use MSVC compiler.
I use a batch and current mozilla build (as recommended - see attachment & post).
Attachmment special build vc71-glib & vc71-libID - You un-7z and then unzip and place into respective folders, bin, include & lib of Toolkit 2003. Or other place that is in path. Path = where tools and programs search for resources.
make -f client.mk build > c:/mozilla/.GRE_build.log 2>&1
Says make the GRE > write a build log into file at existing folder at ...
Result: if build info is not displayed but written - it builds faster and I can read later. & I can quote when I post question.
Edited 2 time(s). Last edit at 05/20/2009 12:37AM by guenter.
NMAKE : fatal error U1073: don't know how to make 'build_all'
Do not use obsolete instructions and toolz. Maybe nmake is used by minGW. We use MSVC compiler.
I use a batch and current mozilla build (as recommended - see attachment & post).
Attachmment special build vc71-glib & vc71-libID - You un-7z and then unzip and place into respective folders, bin, include & lib of Toolkit 2003. Or other place that is in path. Path = where tools and programs search for resources.
make -f client.mk build > c:/mozilla/.GRE_build.log 2>&1
Says make the GRE > write a build log into file at existing folder at ...
Result: if build info is not displayed but written - it builds faster and I can read later. & I can quote when I post question.
Cheers Guenter... !
I am goin to have a look at it..
Edited 1 time(s). Last edit at 05/20/2009 01:19PM by Gorilla no baka.
Quote guenter
If command shell (bash for the building part) does not know "make" or any other command => it is not in the search path.
The path is set by the Windows bats that are "called" before bash is started.
Look for errors in there.
Ok ...Lemme log out from my linux instalation and get back to WinXP...
Cheers
Here have a look see
Ok here i am again....I receive the same error...
Is there anything else i could do??
Look...
Here is my env.bat with the directory structure
@ECHO OFF
set CVSROOT=server:anonymous@cvs-mirror.mozilla.org:/cvsroot
set HOME=C:\projects\mozilla
set MOZ_CVS_FLAGS=-z3
set MOZ_BITS=32
set MOZ_TOOLS=%HOME%\Mozilla
set OS_TARGET=WINNT
set WINOS=%OS_TARGET%
set _MSC_VER=1500
set DISABLE_TESTS=1
set MOZ_SRC=%HOME%
set MOZ_NO_ACTIVEX_SUPPORT=1
set CONFIG_SHELL=SH.EXE
set PATH=%PATH%;%MOZ_TOOLS%\BIN
set PATH=%PATH%;%HOME%\PERL\BIN
set PATH=%PATH%;%HOME%\CygWin\bin
set PATH=%PATH%;%HOME%\buildtools\windows\include
call "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat"
What am i doing wrong?? I know i am annoying but could somebody walk me trough the process please??
If you want to compile mozilla, just check the instructions at developer.mozilla.org. Instructions in the kmeleon wiki are obsolete, only the .mozconfig is relevant.
Quote Dorian
If you want to compile mozilla, just check the instructions at developer.mozilla.org. Instructions in the kmeleon wiki are obsolete, only the .mozconfig is relevant.
Hi Dorian..
Thanks for answering i really apreciate it..
All i want to do is to learn how to build a distribution ..A K-meleon one..
A old one if 1.5 is so tricky to build...I stumbled across K-meleon I liked it a lot...As with all the things i like i try to understend them ..There is no better way to understend how k-meleon is working and reacting than actually building one of them...It does not have to be one of the latest gre or something..
As you pointed the instructions in the kmeleon wiki are obsolete and there`s no updated instructions to be followed.I ended up installing all kind of programs the guys in forums were pointing out to...Now at the present writting i have only 4 Gb left on my 60GB hardisk..Guenter has seen the pics..
I am extremly confuzed...
About developer.mozilla.org.
The guys there they seem to deal with Firefox not K-meleon
What`s the first step i should take in opinion..??
Feel free to tell me to RTFM ,STFW. I don`t mind as long as someone can point me to the right direction to read the instructions...
I am willing to ditch all the programs i have installed and start with a clean install and install only the needed programs (It was Hightime anyway...)
Everything is here to build mozilla. You need VS .NET 2003 or VS 2005 (at least standard for the MFC), seamonkey 1.8.1 source, and MozillaBuild.
Extract the attached mozilla.7z file in the root folder of the mozilla source (mozconfig is inside), and follow the instructions to build mozilla.
After the build, in the mozilla build console, go to the /RELEASE/embedding/config folder and run 'make'
The GRE will be in /RELEASE/dist/bin/embed
There is no automated way to make a kmeleon distribution (or it's incomplete). You have to copy the files from the GRE you built into an official distribution (except for the chrome folder, components/chrome.dll and components/chrome.xpt : you have to keep the original ones)
Quote Dorian
Everything is here to build mozilla. You need VS .NET 2003 or VS 2005 (at least standard for the MFC), seamonkey 1.8.1 source, and MozillaBuild.
Extract the attached mozilla.7z file in the root folder of the mozilla source (mozconfig is inside), and follow the instructions to build mozilla.
After the build, in the mozilla build console, go to the /RELEASE/embedding/config folder and run 'make'
The GRE will be in /RELEASE/dist/bin/embed
There is no automated way to make a kmeleon distribution (or it's incomplete). You have to copy the files from the GRE you built into an official distribution (except for the chrome folder, components/chrome.dll and components/chrome.xpt : you have to keep the original ones)
Quote Dorian
Everything is here to build mozilla. You need VS .NET 2003 or VS 2005 (at least standard for the MFC), seamonkey 1.8.1 source, and MozillaBuild.
Ok...Step one: Following the indications from the link up top you provided i have installed the following programs:
ActivePerl Build 623
CVSNT
Microsoft .NET Compact Framework 3.5
Microsoft .NET Framework 1.1
Microsoft .NET Framework 1.1 Hotfix (KB928366)
Microsoft .NET Framework 2.0 Service Pack 2
Microsoft .NET Framework 3.0 Service Pack 2
Microsoft .NET Framework 3.5 SP1
Microsoft Document Explorer 2008
Microsoft SQL Server 2008 Management Objects
Microsoft Visual Basic 2005 Express Edition - ENU
Microsoft Visual C++ 2005 Redistributable
Microsoft Visual C++ 2008 Express Edition with SP1 - ENU
Microsoft Visual C++ 2008 Redistributable - x86 9.0.21022
Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729
Microsoft Visual C++ Compilers 2008 Standard Edition - enu - x86
Microsoft Visual C++ Toolkit 2003
Microsoft Windows SDK for Visual Studio 2008 Headers and Libraries
Microsoft Windows SDK for Visual Studio 2008 SP1 Express Tools for .NET Framework - enu
Microsoft Windows SDK for Visual Studio 2008 SP1 Express Tools for Win32
Microsoft Windows SDK for Windows Server 2008 (6001.18000.367)
MinGW Developer Studio
MSXML 4.0 SP2 (KB954430)
MSXML 6 Service Pack 2 (KB954459)
SQL Server System CLR Types
Let me know if there is something i missed, please..
Quote Dorian
Extract the attached mozilla.7z file in the root folder of the mozilla source (mozconfig is inside), and follow the instructions to build mozilla.
Now i guess this is the step 2
Question : By mozilla source you mean the seamonkey 1.8.1 source????
I looked for it and i could not find it...is there any link where i can download it,,???
You know what...I am a very patient guy.... BY the time i will be able to produce a result more than sure we will have a tutorial so comprehensive that even a idiot would be able to compile a GRE...
I'm not sure where you really get this list, but the only things needed is what I mentionned in my post.
For the source, there is usually a package for each release (check the mozilla ftp). In my case I always get the sources from cvs using the branch MOZILLA_1_8_BRANCH
It takes some altering and making atl.lib and comsupp.lib if any wants to build GRE 1.8.1.21 to 1.9.1. The later causes some problems. Build does not know compiler option -G6. This error can be overcome by not compiling js3250.dll with -GL. I had to search for GL in makefile.in of aborted js3250.dll build sub-directory, delete the -GL option and start a less optimizing, incremental build of this dll.
And that is how far I know to get at the moment.
I can build optimized GREs with VC 7.1 cl.exe version 13.10.3052.0 and other free tools.
I can even build optimized mfcembed.exe (-O -GL).
Now I would like the free Mozilla GRE build environment to build K-Meleon.exe instead of that.
I have edited some files in ./embedding/... .
I feeded K-Meleon.exe sources into it.
And it build two object and a res file.
Then it errored out (possibly on old style definitions? - according to Google).
Question: Which options do You use for K-Meleon build?
Do You use/know any special options for old code compatibility?
Or is it needed to buy VC7.1 (Visual Studio 2003) to get libs and headers?
Edited 4 time(s). Last edit at 06/03/2009 08:34PM by guenter.
Quote Dorian
I'm not sure where you really get this list, but the only things needed is what I mentionned in my post.
For the source, there is usually a package for each release (check the mozilla ftp). In my case I always get the sources from cvs using the branch MOZILLA_1_8_BRANCH
Wow...
Thank you Dorian...
Been bussy lately tweaking K-meleon`s network settings and stuf....
It takes some altering and making atl.lib and comsupp.lib if any wants to build GRE 1.8.1.21 to 1.9.1. The later causes some problems. Build does not know compiler option -G6. This error can be overcome by not compiling js3250.dll with -GL. I had to search for GL in makefile.in of aborted js3250.dll build sub-directory, delete the -GL option and start a less optimizing, incremental build of this dll.
And that is how far I know to get at the moment.
I can build optimized GREs with VC 7.1 cl.exe version 13.10.3052.0 and other free tools.
I can even build optimized mfcembed.exe (-O -GL).
Now I would like the free Mozilla GRE build environment to build K-Meleon.exe instead of that.
I have edited some files in ./embedding/... .
I feeded K-Meleon.exe sources into it.
And it build two object and a res file.
Then it errored out (possibly on old style definitions? - according to Google).
Question: Which options do You use for K-Meleon build?
Do You use/know any special options for old code compatibility?
Or is it needed to buy VC7.1 (Visual Studio 2003) to get libs and headers?
Thank you Guenter...
Just got back from the gym....I will be eating and taking a nap (I am knackered)
Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.8.1.22pre) Gecko/20090616 K-Meleon/1.5.3 = Fun build GRE for use with K-Meleon 1.5.3.
Use on YOUR own risk and make sure You read and understood desga2's update tutorials - no support or warranty what so ever.
Use a profile.ini (can be empty dummy) to make a separate profile in install folder ./Profiles & use spare copy of K-Meleon. Just as reminder. Use virus scan on download - these are dangerous times. I am just another stranger for You.
Attachment: 3 files for the build directory.
1.bat to start a build.
2.bat to update and start this build:
cvs up -r MOZILLA_1_8_BRANCH client.mk
# get the client that makes the magic for this branch
make -f client.mk checkout MOZ_CO_PROJECT=suite > .GRE_checkout.log 2>&1
# make checkout and write the result to .GRE_checkout.log
make -f client.mk build > .GRE_build.log 2>&1
# build the beast and write the result and the errors to .GRE_build.log
A mozconfig to experiment, not all works but most does.
Question: Why does K-Meleon 1.5.3 official version build with VC7.1 crash is terminated with dll not found or related errors when the 1.8.1.22 GRE is build with VC8.
Must the exe be build with VC8 too or are there other solutions?
any answers or observations welcome - thx in advance.
Edited 1 time(s). Last edit at 06/23/2009 08:38PM by guenter.