Step-by-Step Build Harbour from Linux(eg. Ubuntu 18.04.3)

瀏覽次數:509 次
跳到第一則未讀訊息

Diego F

未讀,
2020年2月19日 上午11:37:472020/2/19
收件者:Harbour Users
Hi, all. I want to share with all those like me, who have nothing or not enough experience in Linux to build Harbour from scratch. Including all needed packages and some contribs.

For those who want I leave a link (below) for an Ubuntu vbox or vmware image, to even avoid installing it. After that, download the script attached, run it, and voila.


Before run the script, give it permission to execute.

sudo chmod +x build_harbour.sh

Diego
build_harbour.sh

mstuff kstuff

未讀,
2020年3月1日 晚上7:58:052020/3/1
收件者:Harbour Users
Interesting.
You lit a little fire. I have wondered about Linux.
I'm running win10 64bit. It wouldn't do Hyper-V.

I setup Oracle’s VM/VirtualBox.
Did your link Ubuntu 16.04.6*.vdi
Didn't care for the password protection.
So, I downloaded Mint and Harbour's version.

I'm at the point of trying to get Linux to install
the graphics driver but... at this time.

I'll continue to work on it between 2 and 4 AM
when I have time.

Thanks for getting me started, Mike


Bob Burns

未讀,
2020年3月2日 下午2:18:472020/3/2
收件者:harbou...@googlegroups.com

I now run Linux Mint and Windows 10 Professional via GRUB on a new PC with an NVIDIA GeForce GTX 1650 graphics adaptor. Originally tried Ubuntu as that ran on my previous PC with no problems but it stubbornly refused to load the latest graphics driver on the new PC so I switched to Mint. It too would not load the driver for some days and then suddenly loaded it correctly but no idea why.

Regards

Bob G3OOU

--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users

---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/45ab234a-df46-4ba6-95be-ab9dd38f736a%40googlegroups.com.

José M. C. Quintas

未讀,
2020年3月2日 下午2:46:062020/3/2
收件者:harbou...@googlegroups.com

Windows 10 have Linux, can be under Ubuntu, do not need Virtualbox, but not sure about all graphics feature, may be I test under next Windows 10 20.04

For Windows, some drivers need download from internet.

José M. C. Quintas


Em 02/03/2020 16:18, Bob Burns escreveu:

I now run Linux Mint and Windows 10 Professional via GRUB on a new PC with an NVIDIA GeForce GTX 1650 graphics adaptor. Originally tried Ubuntu as that ran on my previous PC with no problems but it stubbornly refused to load the latest graphics driver on the new PC so I switched to Mint. It too would not load the driver for some days and then suddenly loaded it correctly but no idea why.

Regards

Bob G3OOU

On 02/03/2020 00:58, mstuff kstuff wrote:
Interesting.
You lit a little fire. I have wondered about Linux.
I'm running win10 64bit. It wouldn't do Hyper-V.

I setup Oracle’s VM/VirtualBox.
Did your link Ubuntu 16.04.6*.vdi
Didn't care for the password protection.
So, I downloaded Mint and Harbour's version.

I'm at the point of trying to get Linux to install
the graphics driver but... at this time.

I'll continue to work on it between 2 and 4 AM
when I have time.

Thanks for getting me started, Mike

Appliserver

未讀,
2020年3月2日 下午6:48:482020/3/2
收件者:harbou...@googlegroups.com

IIRC W10 has a shell POSIX-compliant, not exactly a "Linux". I also am not sure it can manage a GUI but further infos are welcome.

Dan

--
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users

---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.

mstuff kstuff

未讀,
2020年3月5日 晚上9:54:482020/3/5
收件者:Harbour Users

Bob,


I think you have the best idea. Probably less issues.
Just do it dual boot or maybe even 2 drives with a
toggle power switch for the drives.

Mike

Alain Aupeix

未讀,
2020年3月6日 凌晨2:32:472020/3/6
收件者:harbou...@googlegroups.com、mstuff kstuff
Better, remove Windaube

:)

A+
--

Alain Aupeix
Sites web : JujuLand | Pissobi-Lacassagne | Gadel
X.ubuntu 16.04 [ H.arbour 3.2.0dev (r2019-04-11 15:33) | Hw.gui 2.22-4-r2806 | G.ramps 5.0.1.1


mstuff kstuff

未讀,
2020年3月6日 清晨7:52:202020/3/6
收件者:Harbour Users
Alain,

Better, remove Windaube?

Was that for me?

What is a Windaube?

Mike

Srđan

未讀,
2021年11月29日 凌晨2:31:162021/11/29
收件者:Harbour Users
gcc -I. -I../../../../../include -W -Wall -O3 -oexpropt1.o -c ../../../expropt1.c
In file included from ../../../../../include/hbvmpub.h:50, from ../../../../../include/hbapi.h:55,
from ../../../../../include/hbmacro.h:50,
from ../../../expropt1.c:52:
../../../../../include/hbdefs.h:51:10: fatal error: stdio.h: No such file or directory
51 | #include <stdio.h>
| ^~~~~~~~~
compilation terminated.
make[3]: *** [../../../../../config/rules.mk:88: expropt1.o] Error 1
make[2]: *** [../../config/lib.mk:68: descend] Error 2
make[1]: *** [../config/dir.mk:68: common.inst] Error 2
make: *** [config/dir.mk:68: src.inst] Error 2
./build_harbour.sh: line 27: $'\r': command not found

Alain Aupeix

未讀,
2021年11月29日 清晨5:09:542021/11/29
收件者:harbou...@googlegroups.com
Le 29/11/2021 à 08:31, 'Srđan' via Harbour Users a écrit :
> gcc -I. -I../../../../../include -W -Wall -O3 -oexpropt1.o -c
> ../../../expropt1.c
> In file included from *../../../../../include/hbvmpub.h:50*, from
> *../../../../../include/hbapi.h:55*,
> from *../../../../../include/hbmacro.h:50*,
> from *../../../expropt1.c:52*: *
> *
> *../../../../../include/hbdefs.h:51:10:* *fatal error: *stdio.h: No
> such file or directory
> 51 | #include *<stdio.h>*
> | *^~~~~~~~~*
> compilation terminated.
> make[3]: *** [../../../../../config/rules.mk:88: expropt1.o] Error 1
> make[2]: *** [../../config/lib.mk:68: descend] Error 2
> make[1]: *** [../config/dir.mk:68: common.inst] Error 2
> make: *** [config/dir.mk:68: src.inst] Error 2
Hi,

have-you verified that stdio.h is missing ?
for me :

alain@aupeix-GX723:~$ locate -b stdio.h
/usr/include/stdio.h
/usr/include/x86_64-linux-gnu/bits/stdio.h

I think it's the first one

On Xubuntu 16.04.5 :

alain@aupeix-GX723:~$ ll /usr/include/stdio.h
-rw-r--r-- 1 root root 31365 avril 21  2021 /usr/include/stdio.h

and curiously on Xubuntu 18.04.6

eva@Pavilion-eva:~$ ll /usr/include/stdio.h
-rw-r--r-- 1 root root 29665 dec.   7  2020 /usr/include/stdio.h

A+
回覆所有人
回覆作者
轉寄
0 則新訊息