Pacman port for minix

Hello Forums,
lately I discovered minix3, that cool microkernel OS. Here is an Wikipedia article about it.
I gave it a shot and ran it in vmware (needs to be workstation 5 compatible or it fails), but the packagemanager ("packman"), honestly,  just sucked compared to arch's pacman. Then I thought about what was if there was a minix distribution with arch's features like pacman, rolling release, aur etc?
What do you think about this idea?
Also notice, that both minix and arch follow KISS ideas.
PS: I already tried to compile pacman, but its not that easy. I couldn't even get libdownload running, a dependency of pacman, because it depends on glibc - which isn't ported yet (if it will ever be ported). Maybe a rewrite would be better - either of libdownload or a full one of pacman, but with its features (not saying that I have the skillz to do this yet, just thoughts).
regards, thoughtcrime
EDIT: Porting pacman to minix
Pacman's dependencies: libarchive, libdownload (i'm planning to use libfetch instead as it does not depend on glibc(?))
Note: I downloaded all the tar.gz files on my host Archlinux, repacked them to tar files and downloaded them with the VM from my host machine via wget (apache server). Then I could extract them with
tar x archive.tar
Before getting started:
chmem =10000000 /usr/local/bin/bash
chmem =10000000 /usr/bin/make
export GREP=/usr/bin/grep
export PATH=/usr/gnu/i386-pc-minix/bin:/usr/gnu/bin:$PATH
1. libarchive
depends on: zlib, bzip2
1.1 zlib (tested with zlib-1.2.3.3)
This one works out of the box:
download the sources
./configure
make
make install
1.2 bzip2 (tested with 1.0.5)
download the source
apply this hack:
In bzip2.c, comment these lines out: 1067-1078
make
make install
1.3 libarchive (tested with 2.5.5)
download the source
do these hacks:
libarchive/archive_read_support_format_mtree.c:30
add #define S_IFSOCK 0140000
libarchive/archive_write_disc.c:505
block_size = 4*1024;
NOTE: This isn't really how it sould be. 4kb is just the default value for Minix; core-ix on #minix (freenode) suggested finding a relation between st_size (file size) and st_blksize
libarchive/archive_write_set_format_pax.c:44
add #define EILSEQ      (_SIGN 92)
tar/siginfo.c:117
safe_fprintf(stderr, "%s %s (%ju / %PRId64 )",
NOTE: This one isn't great, too. Suggestions?
then type
./configure
make
- this is how far i got it working
2. libfetch
3. pacman
i'll try to complete this howto and get it really ported when I have time
Last edited by thoughtcrime (2009-01-01 16:40:52)

Ranguvar wrote:Minix is still more of an undergrad playground and proof that ridiculously stable OSen can be made than a desktop or even server/workstation OS. The vast majority of Linux software needs changes to work well with the Minix kernel. And for the people it targets, a distro isn't really necessary or helpful. Don't get me wrong - Minix is fricking awesome. It's beyond stable, (go ahead, try and make it crash - the devs are working on being able to repeatedly kill various drivers during a networked file transfer and STILL have it finish perfect, if that gives you an idea of what a rock it is) and is the kernel Linus used when writing Linux. I really hope ideas and code from it enter more mainsteam kernels, or it itself becomes more mainstream. But a distro won't really enhance that yet, I would say... and would require massive effort.
I think at least a proper package manager like pacman can be very, very helpful. You know how many software there is in arch's AUR - so what if we had something like that for minix? More users would patch more software and everybody could install them  -> more mainstream, more popularity, more software ported etc
catwell wrote:
I still love the idea. I used Minix3 for a while and really enjoyed it. What made me stop is the lack of a real package manager. There are already some important applications that have been ported such as Apache, Python or X, so I think Minix3 is ready to be used, at least on a server. Linux was not really better at the end of the nineties, and still a lot of people already used it.
EDIT: If somebody wants to port Pacman to Minix, it would be a good idea to either port glibc (which would probably be difficult), or use one of the Python implementations of Pacman around. I think this would be the the best solution for now.
Thanks for telling me that there are python implementations of pacman. I'll have a look at them.
wuischke wrote:I believe you can use bsd libfetch instead of libdownload. I compiled pacman with libfetch on OpenBSD using the native C library and without installing glibc (At least not consciously ), therefore I believe it is very well possible.
This would be awesome, i'll give this a try when I have time
Ranguvar wrote:Some nfo: http://sourceware.org/ml/libc-ports/200 … 00026.html
"When will be glibc under MINIX 3?"
- "Probably never."
I've already read that before (not hard to find with google). Please note that this answer was given by the glibc team afaik, so this means that they may not want to do a port to minix at this point (maybe when its more popular). It does not mean, that it is not possible - so the community could do it.
Thanks for your great feedback everybody. I'll try your ideas out and report if one of them works

Similar Messages

  • I have a Mac OSX version 10.75 with just one Thunderbolt port. and it has been my Thunderbolt port to connect with Blackmagic wear my intensity. and I no longer can use the port for mini-DVI adapter to connect with me. I do not want to ask any other way f

    i have a Mac OSX version 10.75 with just one Thunderbolt port. and it has been my Thunderbolt port to connect with Blackmagic wear my intensity. and I no longer can use the port for mini-DVI adapter to connect with me. I do not want to ask any other way for me to use to use my monitor. I monitor LG FLATRON E2041 brand .. PLEASE Helpp ME

    i have a Mac OSX version 10.75 with just one Thunderbolt port. and it has been my Thunderbolt port to connect with Blackmagic wear my intensity. and I no longer can use the port for mini-DVI adapter to connect with me. I do not want to ask any other way for me to use to use my monitor. I monitor LG FLATRON E2041 brand .. PLEASE Helpp ME

  • Open ports for all in LAN

    Hi, a few days ago I bought a wireless router WRT160n. I want to ask how to open some port for all in LAN(3 clients). For example all in LAN have PeerToPeer application for torrents. I want to open port for example 20202 for all. Now I open port from menu Applications & Gaming->Single Port Forwarding, but I must set port for each user IP address.
    Can somebody tell me how to open port for all in LAN without to config for each computer?
    Thanks in advance.

    Hi gv. I read more about UPnP and the WRT160n User Guide. In section Administration>managment int wrote that UPnP is Enabled by default in my router it is corect. I Setup mu PeerToPeer(eMule) TCP/UDP ports to 20202 and check option "Use UPnP to setup ports". I test and close this port on my router configuration for my computer on "Single Port Forwarding", but in eMule the port is still block. Can you explain why it did not work. For UPnP it says that if Enable it allow users with Windows ME and XP automatically to gonfigure Router ports
    Thanks in advance!
    Best Regards.

  • Can there be more than one port for the same logical system

    Can we have more than one TRFC port for tranferring data from one logical system to another?
    The requirement is to transfer same basic idoc type from one logical system to another through two different ports. Is it possible?
    For eg. some specific data (country specific) for the same basic idoc type can be sent through a separate port and the other data through a different port inorder to distinguish between the two.

    Hi Shital,
    I don't think so. Because of that what i told you. There would be a dirty trick (back routing) to solve your issue. But its quite difficult and not standard. You create two http receiver services  and two http sender services. You route your message depending on payload to the one or the other http receiver channel. The receiver is in both cases: THE XI! Now you have a second message, which you  can route to IDoc adapter. But in this case you have different sender and in the receiver determination you can put the sender, so you will be able to use different communication channnels and so different ports / destinations.
    Advantage: Your task would run, no performance problem (http: very good, asynchron)
    Handicap: You see every message double in the monitoring, the scenario is not easy to understand and it is a big task 4 other people to change it.
    Regards,
    Udo

  • How do I create Labview VISA ports for *individual* GPIB instruments using Prologix USB GPIB controller?

    Hello,
    I'm trying to use a Prologix USB GPIB controller to control GPIB
    instruments, and I would like to have a virtual serial (VISA) port for
    *each instrument*, as is the case with a normal GPIB controller with a
    standard NI driver. However this is not what the Prologix driver
    provides -- it provides a single VISA virtual serial port for the
    entire controller. To address the instrument with GPIB address 11,
    you first send "++addr 11" to the serial port, and then you're talking
    to instrument 11. However, this means I have to change all old
    Labview programs.
    Is it possible to create a "wrapper" function of some kind that will
    define a virtual serial (VISA) port for each *instrument* on the
    controller? For example, to talk to GPIB instrument 11, call it
    ASRL3::11::INSTR, each time it is written to it would have to write to
    the virtual serial port of the controller, say ASRL3::INSTR, first "+
    +addr 11" and then the command that is sent to it.
    A clearer explanation of the difference (i.e. incompatibility), and of
    my objective:
    1) A normal GPIB controller with NI driver: I go to the NI
    Measurement & Instrumentation Panel, under GPIB, and Scan for
    Instruments; all the live instruments show up; subsequently when I
    want to use Labview programs that use VISA ports, the VISA drop boxes
    allow me to choose a different port for each instrument, e.g.
    "GPIB0::11::INSTR", "GPIB0::12::INSTR" would be instruments at
    addresses GPIB 11 and GPIB 12.
    2) The Prologix GPIB controller that plugs into a USB port: In
    Labview you get a *single* VISA virtual serial port, ASRL3::INSTR, for
    the entire GPIB0 controller. Therefore to address GPIB instrument 11,
    you write "++addr 11" to the virtual serial port ASRL3::INSTR, and
    then you are communicating with device 11, so you can write and read
    ASRL3::INSTR to talk to that device. Then to talk to device GPIB 12,
    you write "++addr 12" to the same VISA port, and then you are talking
    to that device. The problem is that this requires recoding all
    Labview code, whereas I would like to be able to use the same program
    either with a normal or with a Prologix GPIB controller. Therefore, I
    would like to create code that scans the controller for all GPIB
    attached devices and creates VISA ports for all. Such ports, when
    written to, would have to first write "++addr DEVICENUM" to
    ASRL3::INSTR (i.e. the port of the GPIB-USB controller) where
    DEVICENUM is the GPIB address of the instrument corresponding to that
    port, and then would have to do a write or read or whatever function
    is being done on that instrument VISA port.
    I haven't figured out if it is possible to do this easily. Help and
    pointers on where to look for hints would be much appreciated. Many
    thanks!
    Milos

    My first impression is that if you don't want to make any changes at all to existing programs is that the wrapper you need is one around VISA. You would need to intercept all of the calls into the NI VISA driver. If you create your own visa32.dll and in there, change the addressing and then call the real VISA driver, you might (repeat, might) get something to work. If this would even work, you still might find that you have to make significant changes anyway. The serial connection is going to be considerably slower, and interface specific functions such as service request handling, bus triggering of multiple instruments, etc., would be difficult to impossible. This would be a lot of work, imho, to just save a couple of hundred dollars over a real GPIB controller. I've seen this Prologix device before and have even used NI's RS-232->GPIB controller. The Prologix intended use to me seems to me more for a hobbyist or very casual user. Of course, I'm used to having multiple GPIB instruments worth 10s/100s of thousands of dollars and the cost of an fully compliant GPIB controller is just lost in the noise.

  • How to forward the same ports for multiple IPs?

    Hi all, I just bought a Linksys WRT54GS router and I would like to forward the same set of ports for two different computers on my network (192.168.1.101 and 192.168.1.3) however when I try to, I get a "Port Overlap" error. Is there another way I can do this? I am trying to set up Age of Empires II. Thanks for any help!

    No.  You cannot forward the same port to two different computers  (or IP addresses).  
    Here's the reason why:
    You and your friend are both playing the game online.  You score 1000 points.  Your friend scores 10 points.  The signal to increase your score 1000 points arrives on port 3078.  Which computer is the router supposed to send this signal to?  Both computers?   No way!
    Most online games have a way to assign different ports to different computers.  For example, you might use ports 3075 thru 3078, while your friend uses ports 3175 thru 3178.  If your game is setup this way, it should work.
    Also, you will want to forward ports to a fixed LAN IP address.  In your WRT54GS, note that any fixed LAN IP address must be outside the DHCP server range, and it cannot end in 0, 1, or 255.   So the 192.168.1.101  address is probably an illegal fixed LAN IP address.
    Here are all the Linksys rules for using fixed LAN IP addresses:
    With Linksys routers, a fixed (static) LAN IP addresses must be assigned in the device that is using the address. So you need to enter the fixed address in the computer or printer, not in the router.
    When using a Linksys router, any fixed LAN IP address must be outside the DHCP server range (typically 192.168.1.100 thru 192.168.1.149), and it cannot end in 0, 1, or 255.
    Therefore any fixed LAN IP address would normally need to be in the range of
    192.168.1.2 thru 192.168.1.99 or
    192.168.1.150 thru 192.168.1.254
    assuming you are still using the default DHCP server range.
    Also, in the computer, when you set up a static LAN IP address, you would need to set the "Subnet mask" to 255.255.255.0 and the "Default Gateway" to 192.168.1.1 and "DNS server" to 192.168.1.1
    It is also important that no two devices on your network be set to the same static LAN IP address.
    Typically, when I setup gamers, I put thier fixed addresses all together at 192.168.1.21 , 192.168.1.22, etc.   But you can use any legal fixed addresses that you want.

  • Hi, I'm using a Mac Pro here. I am trying to connect it with my NAS hard drive. But i could not connect to it because i have an ethernet which connects to the intranet in my company and Air Port for the internet.

    Hi, I'm using a Mac Pro here. I am trying to connect it with my NAS hard drive. But i could not connect to it because i have an ethernet which connects to the intranet in my company and Air Port for the internet and it could not detect the the ip address after i input the correct address on "Connect to Server" window. Please help! Urgent! Thanks

    I did not say it is not possible.
    I said if your company networks are monopolizing both ports, you should talk to them about what options are available.
    Maybe you can get the company Intranet over wireless if you change some configuration items such as Subnet Mask.
    Maybe you can get on the Internet over Ethernet.
    You really need to ask them, and do not let them blow you off because you have a Mac. If they balk, ask them how it would be done on a PC (becasue it will be the same on a Mac).

  • Error while creating logical port for Reporting

    Hi,
    In one of the training materials for Duet Enterprise, i saw the steps for creating logical port for the consumer proxy /IWTNG/CO_PXY_RECORDS_REPOSITO.
    When i am trying to create the logical port, i am getting an error saying,
    " SRT Framework exception: Error in WSDL access: Exception occurred in communication framework:Error in HTTP Framework:500 Native SSL error
    https://<server:port>/_vti_bin/OBAFileReceiver.asmx?wsdl "
    I would like to know is it really necessary to create this logical port for "Reporting Scenario" and is it not created automaticallly using the Installation Wizard??
    And in case it has to be created, how to resolve this SRT framework exception?
    ~ Ramanath.

    Hi,
    the consumer proxy  /IWTNG/CO_PXY_RECORDS_REPOSITO was used in Duet Enterprise SP01. Now with SP02 the consume proxy /IWTNG/CO_OBAFILE_RECEIVER_SOA is created.
    However, the SSL error that you are getting looks a little strange (it does not mean that there is an error, but it is worth checking):
    So can you go to SOAMANAGER -> Service Administration -> Single Service Configuration. In here select "Consumer Proxy" from the "Search by", Search Pattern "/IWTNG/CO_OBAFILE_RECEIVER_SOA" and Field: Both.
    You should find one entry. Select it and click "Apply Selection".
    Now go to the Configurations tab. Here you should see one Logical Port with name "LOGICALPORTFORREPORTING" with Creation Type "Manually Created". In fact this logical port was created by the Wizard.
    Click on Display and scroll down again. Now in the "Additional Information" tab there is a string after HTTP Destination, e.g. 0050568E3F5A1ED096F22339C44BAF83.
    Copy this value and go to your SAP GUI -> Transaction SM59.
    Here click on Find/Search and search for this HTTP Destination. You should find one Type G RFC Destination that has the target host of your SharePoint server and the path prefix /_vti_bin/OBAFileReceiver.asmx.
    Now you can test the service. Just click on Connection Test. The result should be a HTTP Response: 200.
    If not, then something went wrong with the automatic configuration and we should take another look at it (for example maybe the SSL certificate from SharePoint that was imported by the Wizard is not valid)
    Regards,
    Holger.
    PS. Don't use the "Ping Web Service" test from SOAMANGER -- unfortunately this is not working consistently.

  • Error while creating logical port for Consumer Proxy in SOAMANGER

    Hi,
    While creating logical port for my consumer proxy in SOAMANGER, I am getting the error shown below
    SRT Framework exception: HTTP: Current user does not have the required authorization to access the HTTP destination
    I have searched in the forums but none of the answers helped me.
    I have specifed my PI user ID and password and the user has the followwing roles assigned to it.
    SAP_BC_WEBSERVICE_SERVICE_USER
    SAP_BC_WEBSERVICE_ADMIN_TEC
    SAP_BC_WEBSERVICE_CONSUMER
    SAP_BC_WEBSERVICE_ADMIN
    Current user in the error message refers to the PI user that i have specified or the user with which i have logged in the backend ABAP system?
    Please help me reslove this issue.
    Thanks and regards
    Sreehari Nambiar

    Hi,
    Please add the following roles as well.
    SAP_BC_WEBSERVICE_ADMIN_BIZ
    SAP_BC_WEBSERVICE_DEBUGGER
    SAP_BC_WEBSERVICE_OBSERVER
    Also make sure that you are doing the role comparison  after adding all SAP* roles in your profile.
    Let me know if this works?
    Thanks,
    Sridhar

  • How to Open Ports for HP Printers for all computers within the network (router)

    Hi,
    I have the EA6700 router and a few HP printers and Multi purpose printers/scanner/fax ...
    When installing the print drivers, they are ok.  Sending to printers are not a problem.  However, the problem comes with scanning.
    The HP Software ask to open a port for it...     How do I do that?   I checked, it seems other computers are affected by it too after changing to this new router.
    I read that it can be done on the "App and gaming" section at the Security page.  Do I go to the port forwarding section?   But it only forward to one computer.  that doesn't work...    
     I'd like to open a port and a lot of other IPs can print and scan from it.
    Thanks

    Ports are not needed to be opened on the LAN side of the router for Printers and Scanners. I recommed that tiy contact hp for help and information regarding setup and configuration of those devices. Also the addition of a external Gb network switch for these devices is recommended as well. Would help eliminate any un-necessary router configuration or processing. 

  • Forwarding port for Counter-strike: Source is not working

    With my linksys router (Model WRT54G)I tried forwarding my port for a Counter-Strike: Source server. My friends tried it after I tried forwarding the ports and it did not work. It looks like this: |Application|Start|End--|Protocol|Ip-Adress------|Enabled| |CS1--------|1200-|1200-|Both----|192.168.1.[105]|Check--| |CS2--------|2700-|27015|Both----|192.168.1.[105]|Check--| |CS3--------|27020|27039|Both----|192.168.1.[105]|Check--| I can get on the server but my friends can not. And yes, I did uncheck "Block Anonymous Internet request". Message Edited by Iridium on 08-16-2007 07:37 PM Message Edited by Iridium on 08-16-2007 07:38 PM
    Message Edited by Iridium on 08-16-2007 07:38 PM

    Is the IP address 192.168.1.105 really the IP address of the server in your LAN?
    Moreover, check what kind of modem you have. Follow the instructions here. If the IP address on the status page is a private IP address and the IP address on whatismyipaddress.com is different then your modem does routing too and you have to configure port forwarding there as well.

  • Connection to serial port for communication RFID

    HI,
    I have occurred problem in communication to serial port for accessing the RFID
    through Serial Port COM1 or COM2 . I got garbage values of Card .
    Please give me the code for accessing serial port and indicter the cadr is detected by RFID and read the data on card.

    EHAG microchip 13,56 MHz dual reader and Mifare 1KB contactless smartcard.
    I've succeed to retrieve the data from the transponder (card) but it just only once when i click the button from my application. My question is how do i retrieve the data continuously from the card for every few milliseconds?
    sorry for my language.

  • Default port for J2SE Adapter Engine?

    Hello all,
    what is the default port for J2SE Adapter Engine? How do I restart this adapter engine?
    Regards,
    N.S

    Swamy,
    8200 is the default port. Also go through this help of how to start and stop the J2SE Adapter Engine:
    http://help.sap.com/saphelp_nw04/helpdata/en/12/5dd23aaad7b3408dde3c1577fda5b3/frameset.htm
    ---Satish

  • Creating new logical ports for WSDL with several port types not working

    Hi all,
    I am trying to integrate some BODS webservice into the BPM. I am using CE 7.2 Kernel Version:     7.20.3710. When I am trying to assign a provider system in the application configuration I get following error:
    The provider system successfully found the needed service, but its wsdl is without webservice policy. Thus the generated client configuration might not work because of different configurations between service and client (most probable a difference in the security settings). Either assign a provider system with access to wsdl with policy or manually create the client configuration.
    The regarding provider system is using a communication profil where the authentication method is set to "none". Normally this configuration should work, but it isn't.
    So I started to create new logical ports for each port type. But then I get the error:
    Port type name of loaded WSDL does not match the port type name of the Service Reference.
    I checked already the port type names in the WSDL but they are 100% the same. What I found was that the configuration is always trying to use the first port type in the WSDL. So I am not able to configure the other port types in the service group.
    I also tried to do the same thing using a WSDL with just one port type and surprise it is working...
    I hope somebody can help me out
    Thanks in advance
    Andy

    Hi Andy,
    Please check this Link: https://cw.sdn.sap.com/cw/docs/DOC-45012
    Regards,
    Naresh B

Maybe you are looking for