team-unstablers / xrdp-brew-formulas

homebrew formulas for xrdp
8 stars 0 forks source link

help with your script #1

Open 101Dude opened 1 year ago

101Dude commented 1 year ago

I am not familiar with this method... I am assuming I should be able to run your script using this command:

 HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source --verbose --HEAD ./xrdp/xrdp-git.rb

But when I do this I get an error:

0-zsh% HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source --verbose --HEAD ./xrdp/xrdp-git.rb
Warning: No available formula or cask with the name "./xrdp/xrdp-git.rb".
Please tap it and then try again: brew tap ./xrdp
08/20/23_18:43:38 /Users/john
1-zsh% brew tap ./xrdp            
==> Tapping ./xrdp
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew-xrdp'...
remote: Not Found
fatal: repository 'https://github.com/./homebrew-xrdp/' not found
Error: Failure while executing; `git clone https://github.com/./homebrew-xrdp /usr/local/Homebrew/Library/Taps/homebrew-xrdp --origin=origin --template= --config core.fsmonitor=false` exited with 128.
puneetred commented 1 year ago

To solve this issue, you should first clone this repository. Then, navigate into the cloned repository using the cd command in your terminal. Once you're inside the repository, you can run the commands

alexmyczko commented 11 months ago

so you were missing:

git clone https://github.com/team-unstablers/xrdp-brew-formulas.git
cd xrdp-brew-formulas

however i just tried on Darwin Kernel Version 23.1.0 and it failed with:

  CXX      KeycodeMap.lo
In file included from ProjectionThread.cpp:10:
../common/arch.h:53:24: error: cannot combine with previous 'type-name' declaration specifier
typedef uint_least16_t char16_t;
                       ^
../common/arch.h:54:24: error: cannot combine with previous 'type-name' declaration specifier
typedef uint_least32_t char32_t;
                       ^
In file included from XrdpTransport.cpp:9:
In file included from ./XrdpTransport.hpp:12:
In file included from ../common/trans.h:24:
../common/arch.h:53:24: error: cannot combine with previous 'type-name' declaration specifier
typedef uint_least16_t char16_t;
                       ^
../common/arch.h:54:24: error: cannot combine with previous 'type-name' declaration specifier
typedef uint_least32_t char32_t;
                       ^
2 errors generated.
make[2]: *** [XrdpTransport.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from XrdpStream.cpp:9:
In file included from ./ulalaca.hpp:11:
../common/arch.h:53:24: error: cannot combine with previous 'type-name' declaration specifier
typedef uint_least16_t char16_t;
                       ^
../common/arch.h:54:24: error: cannot combine with previous 'type-name' declaration specifier
typedef uint_least32_t char32_t;
                       ^
In file included from ProjectionThread.cpp:18:
./ProjectionThread.hpp:39:9: error: use of undeclared identifier 'assert'
        assert(size != 0);
        ^
ProjectionThread.cpp:246:5: error: use of undeclared identifier 'assert'
    assert(pointer != nullptr);
    ^
ProjectionThread.cpp:247:5: error: use of undeclared identifier 'assert'
    assert(size > 0);
    ^
2 errors generated.
In file included from ulalaca.cpp:16:
In file included from ./ulalaca.hpp:11:
../common/arch.h:53:24: error: cannot combine with previous 'type-name' declaration specifier
typedef uint_least16_t char16_t;
                       ^
../common/arch.h:54:24: error: cannot combine with previous 'type-name' declaration specifier
typedef uint_least32_t char32_t;
                       ^
make[2]: *** [XrdpStream.lo] Error 1
In file included from ulalaca.cpp:19:
./ProjectionThread.hpp:39:9: error: use of undeclared identifier 'assert'
        assert(size != 0);
        ^
5 errors generated.
make[2]: *** [ProjectionThread.lo] Error 1
3 errors generated.
make[2]: *** [ulalaca.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
xyfl0203 commented 6 months ago

i got this error: XrdpUlalacaPrivate.cpp:65:29: note: in instantiation of function template specialization 'std::make_unique<ProjectorClient, XrdpUlalacaPrivate &, std::string &>' requested here _projectorClient = std::make_unique( ^ ./ProjectorClient.hpp:23:14: note: candidate constructor not viable: no known conversion from 'XrdpUlalacaPrivate' to 'ProjectionTarget &' for 1st argument explicit ProjectorClient( ^ ./ProjectorClient.hpp:27:5: note: candidate constructor not viable: requires 1 argument, but 2 were provided ProjectorClient(ProjectorClient &) = delete; ^ 2 errors generated. make[2]: [XrdpUlalacaPrivate.xrdpmodule.lo] Error 1 make[2]: Waiting for unfinished jobs.... 3 errors generated. make[2]: [XrdpUlalacaPrivate.lo] Error 1 make[1]: [all-recursive] Error 1 make: *** [all] Error 2