WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: LAMP environment  (Read 14515 times)

Offline MrToga

  • Full Member
  • ***
  • Posts: 142
Re: LAMP environment
« Reply #135 on: May 06, 2022, 12:45:24 AM »
Strange I didn't get that

My error was at 96%  :
Code: [Select]
error : variable or field 'my_vidattr' declared voidlike the last version

Maybe you didn't install liblz4.tcz ?
It's fine

Offline MrToga

  • Full Member
  • ***
  • Posts: 142
Re: LAMP environment
« Reply #136 on: May 06, 2022, 04:03:51 AM »
Update :

I found something to make the copilation work
You need to write
Code: [Select]
#undef HAVE_VIDATR in /mariadb/client/mysql.cc above the line #ifdef HAVE_VIDATR
So I was wondering maybe in the cmake there's an option to configure this variable
It's fine

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: LAMP environment
« Reply #137 on: May 06, 2022, 04:48:48 AM »
The available options are listed with cmake -LAH

Offline MrToga

  • Full Member
  • ***
  • Posts: 142
Re: LAMP environment
« Reply #138 on: May 06, 2022, 05:15:35 AM »
I was also wondering if I can increase the size of a repertory on tinyCore because during my make install my repertory /tmp doesn't have enough space to handle mariaDB.
Is it possible ?
It's fine

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: LAMP environment
« Reply #139 on: May 06, 2022, 08:26:27 AM »
Hi MrToga
/tmp  is located in RAM, as is most of the file system. Create a work directory in  /mnt/mmblk0p2  if you are
running out of space.

... You need to write
Code: [Select]
#undef HAVE_VIDATR in /mariadb/client/mysql.cc above the line #ifdef HAVE_VIDATR ...
That may not be a good idea.  HAVE_VIDATR  is also referenced in  cmake/readline.cmake.

Open the  config.h.cmake  file and see if changing this:
Code: [Select]
#cmakedefine HAVE_VIDATTR 1to this:
Code: [Select]
#cmakedefine HAVE_VIDATTR 0makes the error go away.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: LAMP environment
« Reply #140 on: May 12, 2022, 01:26:20 AM »
I finally got mariadb-10.5.8 to build, see attached

Offline MrToga

  • Full Member
  • ***
  • Posts: 142
Re: LAMP environment
« Reply #141 on: May 12, 2022, 03:00:45 AM »
Hi juanito,

Thanks for sharing but I gave up the idea of mariadb because during the make install I don't have enough space on my RAM to have mariaDB on my RPI3.
So I'm using sqlite3 instead with phpliteadmin to have a GUI (link here if you want : https://bitbucket.org/phpliteadmin/public/downloads/)

Thank for all.
It's fine

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: LAMP environment
« Reply #142 on: May 12, 2022, 03:34:08 AM »
I agree mariadb is heavy for a RPi3, but once it’s made into an extension it won’t use much ram.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: LAMP environment
« Reply #143 on: May 12, 2022, 08:38:30 AM »
mariadb extensions posted anyway - are you going to submit apache, libonig and php extensions?

Offline MrToga

  • Full Member
  • ***
  • Posts: 142
Re: LAMP environment
« Reply #144 on: May 13, 2022, 05:15:07 AM »
Hi Juanito,
I can submit you apache but for php  I just created a php.tcz I don't have another thing  (same goes for libonig I just have onig.tcz) is it okay ?

But where do I submit ?
« Last Edit: May 13, 2022, 05:16:49 AM by MrToga »
It's fine

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: LAMP environment
« Reply #145 on: May 13, 2022, 06:54:24 AM »

Offline MrToga

  • Full Member
  • ***
  • Posts: 142
Re: LAMP environment
« Reply #146 on: May 30, 2022, 12:48:08 AM »
php7 apache onig and libmcrypt submitted
It's fine

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: LAMP environment
« Reply #147 on: May 30, 2022, 07:55:57 AM »
Posted - thank you for your contribution  :)

Offline MrToga

  • Full Member
  • ***
  • Posts: 142
Re: LAMP environment
« Reply #148 on: May 30, 2022, 08:47:58 AM »
My pleasure  ;D
It's fine