Development :  K-Meleon Web Browser Forum
K-Meleon development related discussions. 
Pages: 12Next
Current Page: 1 of 2
How to build K-Meleon??? Help Neded please!!!!
Date: May 17, 2009 09:50PM

Guys...

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...

I also found something very confuzing here
http://kmeleon.sourceforge.net/wiki/BuildKMeleonDistribution#kmeleon

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:


http://kmeleon.sourceforge.net/wiki/BuildKMeleonDistribution#kmeleon

I do not understend what they are tring to say...And i am not exactly computer illiterate but this i...am lost...

WOULD SOMEBODY BE SO KIND AND GUIDE ME AROUND...PLEASE...

i KNOW THAT EXPLAINING THINGS TO A BEGINER CAN BE A PAIN IN THE ....ARM...BUT...
IF YOU COULD...


Cheers!

I realy apreciate it.!!!

Gorilla

Options: ReplyQuote
Re: How to build K-Meleon??? Help Neded please!!!!
Date: May 18, 2009 06:41AM

You se what i mean....?!!

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 06:42AM by Gorilla no baka.

Options: ReplyQuote
Re: How to build K-Meleon??? Help Neded please!!!!
Date: May 18, 2009 09:24PM

Hey guys...

A bit of the update on compiling the K-meleon...

Folowing the instructions from :

http://kmeleon.sourceforge.net/wiki/BuildKMeleonDistribution#kmeleon

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.


C:\projects\mozilla>cd C:\projects\mozilla\mozilla

As you can see above i changed the directory and i tried again...

C:\projects\mozilla\mozilla>make -f client.mk build
'make' is not recognized as an internal or external command,
operable program or batch file.

C:\projects\mozilla\mozilla>

Aparently it does not recognize the comand tough this is where all the files are...



No joy....I am stucked again....


Can anyone help me please????



Edited 1 time(s). Last edit at 05/18/2009 09:31PM by Gorilla no baka.

Options: ReplyQuote
NMAKE : fatal erro:r U1073 don't know how to make 'build_all'
Date: May 19, 2009 11:04AM

I followed the instructions mentioned at the k-meleon project site

and I get an error message after typing this at the command prompt:

nmake /f client.mak build_all

The error message says:

NMAKE : fatal error U1073: don't know how to make 'build_all'

Googling around i have seen that nmake is not supported:

http://www.mozilla.org/build/win32.html


Now what do i do???


THANK YOU FOR NOT ANSWERING ME AT ALL SO FAR....

Options: ReplyQuote
GRE update for K-Meleon 1.5.x based on GRE 1.8.1.x
Posted by: guenter
Date: May 19, 2009 03:35PM

Quote
Gorilla no baka

# 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.

2.) Building any current GRE with free Tools definitely needs
Microsoft Windows SDK for Visual Studio 2008 SP1 Express Tools for .NET Framework - enu. Because it is the only that has free mfc, atl, crt... includes.

These belong together to make GRE 1.8.x:

3.) Microsoft Visual C++ Toolkit 20003
4.) Microsoft .NET Framework 1.1


This Toolkit 2003 & mentioned sources is the min build requirement, needs some additional instructions and files links via Visual C++ Toolkit 2003 still in use by Mateusz Losko

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 smiling smiley



Edited 8 time(s). Last edit at 05/31/2011 01:02PM by guenter.

Attachments: start 2003 bat.7z (1.8 KB)  
Options: ReplyQuote
Re: NMAKE : fatal erro:r U1073 don't know how to make 'build_all'
Posted by: guenter
Date: May 19, 2009 03:45PM

Quote
Gorilla no baka

nmake /f client.mak build_all

The error message says:

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/19/2009 05:37PM by guenter.

Attachments: libs.7z (178.6 KB)  
Options: ReplyQuote
Re: NMAKE : fatal erro:r U1073 don't know how to make 'build_all'
Date: May 20, 2009 06:19AM

Quote
guenter
Quote
Gorilla no baka

nmake /f client.mak build_all

The error message says:

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 06:19AM by Gorilla no baka.

Options: ReplyQuote
Re: NMAKE : fatal erro:r U1073 don't know how to make 'build_all'
Posted by: guenter
Date: May 20, 2009 07:00AM

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.

Options: ReplyQuote
Re: NMAKE : fatal erro:r U1073 don't know how to make 'build_all'
Date: May 20, 2009 07:31AM

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

Options: ReplyQuote
Re: NMAKE : fatal erro:r U1073 don't know how to make 'build_all'
Date: May 26, 2009 09:57AM

Quote
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=:pserver: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??


My favorite forums
http://www.graphixanstuff.com
http://www.closeprotectionworld.co.uk/index.php?referrerid=11530



Edited 1 time(s). Last edit at 05/26/2009 09:58AM by Gorilla no baka.

Options: ReplyQuote
Re: NMAKE : fatal erro:r U1073 don't know how to make 'build_all'
Posted by: JujuLand
Date: May 26, 2009 10:52AM

In the console, the log file path is wrong.

Replace / with \

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc



Options: ReplyQuote
Re: NMAKE : fatal erro:r U1073 don't know how to make 'build_all'
Date: May 26, 2009 02:51PM

Quote
JujuLand
In the console, the log file path is wrong.

Replace / with \

A+

Merci Alain

I will have an other go at it...

Cheers!


My favorite forums
http://www.graphixanstuff.com
http://www.closeprotectionworld.co.uk/index.php?referrerid=11530

Options: ReplyQuote
Re: NMAKE : fatal erro:r U1073 don't know how to make 'build_all'
Posted by: Dorian
Date: May 26, 2009 05:26PM

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.

Options: ReplyQuote
Re: NMAKE : fatal erro:r U1073 don't know how to make 'build_all'
Date: May 26, 2009 06:28PM

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...)

If somebody could guide me...

Thanks a lot man..


My favorite forums
http://www.graphixanstuff.com
http://www.closeprotectionworld.co.uk/index.php?referrerid=11530



Edited 1 time(s). Last edit at 05/26/2009 06:40PM by Gorilla no baka.

Options: ReplyQuote
Re: NMAKE : fatal erro:r U1073 don't know how to make 'build_all'
Posted by: Dorian
Date: May 28, 2009 05:56PM

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)

Attachments: mozilla.7z (15 KB)  
Options: ReplyQuote
Re: NMAKE : fatal erro:r U1073 don't know how to make 'build_all'
Date: May 28, 2009 07:09PM

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)


Thanks a lot Dorian

I will try again..

I will let you know what happens...

Cheers!


My favorite forums
http://www.graphixanstuff.com
http://www.closeprotectionworld.co.uk/index.php?referrerid=11530

Options: ReplyQuote
Re: NMAKE : fatal erro:r U1073 don't know how to make 'build_all'
Date: May 29, 2009 07:05PM

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....grinning smiley 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...

Well...A very patient one....

Thanks Dorian...


My favorite forums
http://www.graphixanstuff.com
http://www.closeprotectionworld.co.uk/index.php?referrerid=11530



Edited 1 time(s). Last edit at 05/29/2009 07:06PM by Gorilla no baka.

Options: ReplyQuote
Re: NMAKE : fatal erro:r U1073 don't know how to make 'build_all'
Posted by: Dorian
Date: June 02, 2009 11:24AM

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

Options: ReplyQuote
Building with free Toolz
Posted by: guenter
Date: June 02, 2009 07:05PM

Quote
Dorian
the only things needed is what I mentionned in my post.

Since K-Meleon 1.0 Your compiler is the only version known to build K-Meleon. smiling smiley
(Except that Microsoft Visual C++ 2008 seems to build 1.6.a?)

Additionally: Windows Build Prerequisites list VC7.1 (Visual Studio 2003) as the only version that builds GRE 1.8 - 1.9.1.

But VC7.1 (Visual Studio 2003) is not cheap or free, is it?

Quote
Dorian
where you really get this list

Easy to answer - since I found myself the same list of items grinning smiley

I followed Mozilla "free" build directions via Windows Build Pre-requisites

All that follow the links will eventually get Gorilla's list as downloads.

It is mainly for these two: VC8 (Visual Studio 2005) and VC9 (Visual Studio 2008).

Older build instructions such as TierMann's or Where is Walden have different requirements - some list items seem to belong to these.

Some items even belong to instructions for Windows builds with Unix tools and GCC. And when You install all together - nothing works

That is what I found anyway grinning smiley

A 1.8 GRE build only (minimum download volume) needs free Toolkit 2003, .Net 1.1 SDK plus another free MS SDK with more includes and libs. Needed atl, crt and mfc files can only come from Windows Server 2003 SDK R2. So that is my premier choice smiling smiley

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 sad smiley (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 01:34PM by guenter.

Options: ReplyQuote
Re: NMAKE : fatal erro:r U1073 don't know how to make 'build_all'
Date: June 03, 2009 06:06PM

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....


Tomorow am at it...


My favorite forums
http://www.graphixanstuff.com
http://www.closeprotectionworld.co.uk/index.php?referrerid=11530

Options: ReplyQuote
Re: Building with free Toolz
Date: June 03, 2009 06:09PM

Quote
guenter
Quote
Dorian
the only things needed is what I mentionned in my post.

Since K-Meleon 1.0 Your compiler is the only version known to build K-Meleon. smiling smiley
(Except that Microsoft Visual C++ 2008 seems to build 1.6.a?)

Additionally: Windows Build Prerequisites list VC7.1 (Visual Studio 2003) as the only version that builds GRE 1.8 - 1.9.1.

But VC7.1 (Visual Studio 2003) is not cheap or free, is it?

Quote
Dorian
where you really get this list

Easy to answer - since I found myself the same list of items grinning smiley

I followed Mozilla "free" build directions via Windows Build Pre-requisites

All that follow the links will eventually get Gorilla's list as downloads.

It is mainly for these two: VC8 (Visual Studio 2005) and VC9 (Visual Studio 2008).

Older build instructions such as TierMann's or Where is Walden have different requirements - some list items seem to belong to these.

Some items even belong to instructions for Windows builds with Unix tools and GCC. And when You install all together - nothing works

That is what I found anyway grinning smiley

A 1.8 GRE build only (minimum download volume) needs free Toolkit 2003, .Net 1.1 SDK plus another free MS SDK with more includes and libs. Needed atl, crt and mfc files can only come from Windows Server 2003 SDK R2. So that is my premier choice smiling smiley

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 sad smiley (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)


My favorite forums
http://www.graphixanstuff.com
http://www.closeprotectionworld.co.uk/index.php?referrerid=11530

Options: ReplyQuote
Re: NMAKE : fatal erro:r U1073 don't know how to make 'build_all'
Posted by: guenter
Date: June 03, 2009 09:57PM

Quote
Dorian
. In my case I always get the sources from cvs using the branch MOZILLA_1_8_BRANCH

Dorian, thx 4 Your link & Your laconic pointer - it has helped me to pull branch 1.8.1.22pre.

p.s. @ majmoon take a or b( -2) rests.



Edited 1 time(s). Last edit at 06/03/2009 09:58PM by guenter.

Options: ReplyQuote
Re: NMAKE : fatal erro:r U1073 don't know how to make 'build_all'
Date: June 04, 2009 12:13PM

Quote
guenter
Quote
Dorian
. In my case I always get the sources from cvs using the branch MOZILLA_1_8_BRANCH

Dorian, thx 4 Your link & Your laconic pointer - it has helped me to pull branch 1.8.1.22pre.

p.s. @ majmoon take a or b( -2) rests.

Ditto here too!!


I am now ready for the step two I guess....

Patience anyone...:drool:tongue sticking out smiley The tutorial on how to compile GRE step by step will be written...

Thanks again guys,,

Gorilla


My favorite forums
http://www.graphixanstuff.com
http://www.closeprotectionworld.co.uk/index.php?referrerid=11530

Options: ReplyQuote
Re: NMAKE : fatal erro:r U1073 don't know how to make 'build_all'
Date: June 14, 2009 09:24AM

Man....This is getting annoying..I gave up for today...I need to focus on something else to clear my mind...


My favorite forums
http://www.graphixanstuff.com
http://www.closeprotectionworld.co.uk/index.php?referrerid=11530

Options: ReplyQuote
Re: NMAKE : fatal erro:r U1073 don't know how to make 'build_all'
Posted by: guenter
Date: June 15, 2009 09:00PM

If You get stuck best post the 2-3 lines before process says going out.
Error cannot find or so, not defined, too often defined or so.

PPL here can not guess what is wrong if You do not say where You are.



Edited 1 time(s). Last edit at 06/15/2009 09:03PM by guenter.

Options: ReplyQuote
Re: NMAKE : fatal erro:r U1073 don't know how to make 'build_all'
Posted by: guenter
Date: June 16, 2009 06:20PM

http://rapidshare.com/files/245266269/bin.7z.html = Download.

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.

Optimization and other flags:

ac_add_options --enable-optimize='-O2,-GL'
LDFLAGS='-LTCG -OPT:REF -OPT:ICF'
AR_FLAGS='-LTCG'

Not much but better than nothing smiling smiley

Since we build with free components we can not make all the official ways/params.



Edited 4 time(s). Last edit at 06/16/2009 08:14PM by guenter.

Attachments: buildconfig.7z (983 bytes)  
Options: ReplyQuote
Re: NMAKE : fatal erro:r U1073 don't know how to make 'build_all'
Date: June 17, 2009 04:07PM
Options: ReplyQuote
1.8 GRE building with VC8 Express
Posted by: guenter
Date: June 23, 2009 01:36PM

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 01:38PM by guenter.

Options: ReplyQuote
Re: 1.8 GRE building with VC8 Express
Posted by: Dorian
Date: June 24, 2009 04:06PM

Yeah they must use the same version. I think it's because of the global optimisations but I'm not sure.



Edited 1 time(s). Last edit at 06/24/2009 04:07PM by Dorian.

Options: ReplyQuote
Re: 1.8 GRE building with VC8 Express
Posted by: guenter
Date: June 25, 2009 03:45AM

Thx - saves me some time on future trying. Reason does not matter much as long as I know that it is not possible.

Options: ReplyQuote
Pages: 12Next
Current Page: 1 of 2


K-Meleon forum is powered by Phorum.